1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-25 00:36:12 +02:00

[ticket/10271] Improved the AJAXification of the quick-mod tools.

Instead of passing the querystring, now gets the value properly.

PHPBB3-10271
This commit is contained in:
Callum Macrae 2011-11-18 17:50:34 +00:00 committed by Igor Wiedler
parent 81e357beef
commit d1134f9a90

View File

@ -62,7 +62,7 @@ $('[data-ajax]').each(function() {
phpbb.ajaxify({ phpbb.ajaxify({
selector: '#quickmodform', selector: '#quickmodform',
exception: function(act, data) { exception: function(act, data) {
var action = phpbb.parse_querystring(data).action; var action = $('#quick-mod-select').val()
if (action === 'make_normal') if (action === 'make_normal')
{ {
return !($(this).find('select option[value="make_global"]').length); return !($(this).find('select option[value="make_global"]').length);