[feature/ajax] Fix filter check, quick mod tools data-attribute

PHPBB3-10270
This commit is contained in:
Igor Wiedler 2012-02-15 21:16:16 +01:00
parent ea4362fc4c
commit 2f44850a28
2 changed files with 2 additions and 2 deletions

View file

@ -368,7 +368,7 @@ phpbb.ajaxify = function(options) {
// If filter function returns false, cancel the AJAX functionality, // If filter function returns false, cancel the AJAX functionality,
// and return true (meaning that the HTTP request will be sent normally). // and return true (meaning that the HTTP request will be sent normally).
if (run_filter && options.filter.call(this, data)) if (run_filter && !options.filter.call(this, data))
{ {
return true; return true;
} }

View file

@ -263,7 +263,7 @@
<!-- INCLUDE jumpbox.html --> <!-- INCLUDE jumpbox.html -->
<!-- IF .quickmod --> <!-- IF .quickmod -->
<form method="post" action="{S_MOD_ACTION}" id="quickmodform"> <form method="post" action="{S_MOD_ACTION}" id="quickmodform" data-ajax="true">
<fieldset class="quickmod"> <fieldset class="quickmod">
<label for="quick-mod-select">{L_QUICK_MOD}:</label> <label for="quick-mod-select">{L_QUICK_MOD}:</label>
<select name="action" id="quick-mod-select"> <select name="action" id="quick-mod-select">