aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-11-17 17:17:38 +0000
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:21 +0200
commit6d8ecd710441dff945d9d92ac6646a33bfd1ae47 (patch)
tree5a011a9d7f33baf306de7c16bd4c02c9ef04f48b /phpBB
parente5d0f2c6ad5af0bf00303dfc15f4a11b1709eb4b (diff)
downloadforums-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.js2
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);