mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 21:44:57 +02:00
[feature/ajax] Fix filter check, quick mod tools data-attribute
PHPBB3-10270
This commit is contained in:
parent
ea4362fc4c
commit
2f44850a28
@ -368,7 +368,7 @@ phpbb.ajaxify = function(options) {
|
||||
|
||||
// If filter function returns false, cancel the AJAX functionality,
|
||||
// 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;
|
||||
}
|
||||
|
@ -263,7 +263,7 @@
|
||||
<!-- INCLUDE jumpbox.html -->
|
||||
|
||||
<!-- 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">
|
||||
<label for="quick-mod-select">{L_QUICK_MOD}:</label>
|
||||
<select name="action" id="quick-mod-select">
|
||||
|
Loading…
x
Reference in New Issue
Block a user