mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +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() {
|
||||
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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user