mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[feature/ajax] Fix filter check, quick mod tools data-attribute
PHPBB3-10270
This commit is contained in:
parent
ea4362fc4c
commit
2f44850a28
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Add table
Reference in a new issue