diff options
| author | Callum Macrae <callum@lynxphp.com> | 2011-11-17 17:17:38 +0000 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:09:21 +0200 |
| commit | 6d8ecd710441dff945d9d92ac6646a33bfd1ae47 (patch) | |
| tree | 5a011a9d7f33baf306de7c16bd4c02c9ef04f48b /phpBB | |
| parent | e5d0f2c6ad5af0bf00303dfc15f4a11b1709eb4b (diff) | |
| download | forums-6d8ecd710441dff945d9d92ac6646a33bfd1ae47.tar forums-6d8ecd710441dff945d9d92ac6646a33bfd1ae47.tar.gz forums-6d8ecd710441dff945d9d92ac6646a33bfd1ae47.tar.bz2 forums-6d8ecd710441dff945d9d92ac6646a33bfd1ae47.tar.xz forums-6d8ecd710441dff945d9d92ac6646a33bfd1ae47.zip | |
[ticket/10271] Added a comment to the AJAXification of quick-mod tools.
The comment clarifies which make_ functions use AJAX.
PHPBB3-10271
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/styles/prosilver/template/ajax.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index 67feaa90b1..1920b53ce2 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -69,8 +69,10 @@ phpbb.ajaxify({ } else if (action.slice(-4) === 'lock') { + // Return false for both lock and unlock return false; } + // make_sticky, make_announce and make_global all use AJAX. return !(action === 'delete_topic' || action.slice(0, 5) === 'make_'); } }, true); |
