mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/10271] data-ajax="false" is now ignored.
PHPBB3-10271
This commit is contained in:
committed by
Igor Wiedler
parent
95659ba92c
commit
8120023605
@@ -74,8 +74,11 @@ phpbb.add_ajax_callback('row_delete', function(el) {
|
|||||||
|
|
||||||
$('[data-ajax]').each(function() {
|
$('[data-ajax]').each(function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
var fn = ($this.data('ajax') !== 'true') ? $this.data('ajax') : null;
|
if ($this.data('ajax') !== 'false')
|
||||||
phpbb.ajaxify({selector: this}, $this.data('refresh') !== undefined, fn);
|
{
|
||||||
|
var fn = ($this.data('ajax') !== 'true') ? $this.data('ajax') : null;
|
||||||
|
phpbb.ajaxify({selector: this}, $this.data('refresh') !== undefined, fn);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@@ -45,8 +45,11 @@ phpbb.add_ajax_callback('zebra', function(el, res) {
|
|||||||
|
|
||||||
$('[data-ajax]').each(function() {
|
$('[data-ajax]').each(function() {
|
||||||
var $this = $(this);
|
var $this = $(this);
|
||||||
var fn = ($this.data('ajax') !== 'true') ? $this.data('ajax') : null;
|
if ($this.data('ajax') !== 'false')
|
||||||
phpbb.ajaxify({selector: this}, $this.data('refresh') !== undefined, fn);
|
{
|
||||||
|
var fn = ($this.data('ajax') !== 'true') ? $this.data('ajax') : null;
|
||||||
|
phpbb.ajaxify({selector: this}, $this.data('refresh') !== undefined, fn);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user