aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/ajax.js
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-10-22 16:37:35 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:20 +0200
commit81200236052333f88bbf6ecf0c2198080481c07a (patch)
tree2018395b9a5820530b069e45213a3c321a6571e0 /phpBB/adm/style/ajax.js
parent95659ba92c01a3cf4c654568e9a59ba554558a7e (diff)
downloadforums-81200236052333f88bbf6ecf0c2198080481c07a.tar
forums-81200236052333f88bbf6ecf0c2198080481c07a.tar.gz
forums-81200236052333f88bbf6ecf0c2198080481c07a.tar.bz2
forums-81200236052333f88bbf6ecf0c2198080481c07a.tar.xz
forums-81200236052333f88bbf6ecf0c2198080481c07a.zip
[ticket/10271] data-ajax="false" is now ignored.
PHPBB3-10271
Diffstat (limited to 'phpBB/adm/style/ajax.js')
-rw-r--r--phpBB/adm/style/ajax.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js
index 2fdabd2a80..cb3289b936 100644
--- a/phpBB/adm/style/ajax.js
+++ b/phpBB/adm/style/ajax.js
@@ -74,8 +74,11 @@ phpbb.add_ajax_callback('row_delete', function(el) {
$('[data-ajax]').each(function() {
var $this = $(this);
- var fn = ($this.data('ajax') !== 'true') ? $this.data('ajax') : null;
- phpbb.ajaxify({selector: this}, $this.data('refresh') !== undefined, fn);
+ if ($this.data('ajax') !== 'false')
+ {
+ var fn = ($this.data('ajax') !== 'true') ? $this.data('ajax') : null;
+ phpbb.ajaxify({selector: this}, $this.data('refresh') !== undefined, fn);
+ }
});