aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-11-18 17:50:34 +0000
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:23 +0200
commitd1134f9a90ce3002068a28d196f7fd024381270a (patch)
treee0881a79f2de4fc9cfc92f5e427343265954c008
parent81e357beef9e1e82607e59d59deba1cf54af4257 (diff)
downloadforums-d1134f9a90ce3002068a28d196f7fd024381270a.tar
forums-d1134f9a90ce3002068a28d196f7fd024381270a.tar.gz
forums-d1134f9a90ce3002068a28d196f7fd024381270a.tar.bz2
forums-d1134f9a90ce3002068a28d196f7fd024381270a.tar.xz
forums-d1134f9a90ce3002068a28d196f7fd024381270a.zip
[ticket/10271] Improved the AJAXification of the quick-mod tools.
Instead of passing the querystring, now gets the value properly. PHPBB3-10271
-rw-r--r--phpBB/styles/prosilver/template/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js
index afbf27a20d..117a392dc6 100644
--- a/phpBB/styles/prosilver/template/ajax.js
+++ b/phpBB/styles/prosilver/template/ajax.js
@@ -62,7 +62,7 @@ $('[data-ajax]').each(function() {
phpbb.ajaxify({
selector: '#quickmodform',
exception: function(act, data) {
- var action = phpbb.parse_querystring(data).action;
+ var action = $('#quick-mod-select').val()
if (action === 'make_normal')
{
return !($(this).find('select option[value="make_global"]').length);