parent
3b2e3dcd36
commit
4505718ecc
|
@ -115,8 +115,6 @@
|
|||
$(document).on('click', 'a', { self: this }, this.linkClicked);
|
||||
$(document).on('click', 'tr[href]', { self: this }, this.linkClicked);
|
||||
|
||||
$(document).on('click', '.refresh', { self: this }, this.refreshContent);
|
||||
|
||||
// Select a table row
|
||||
$(document).on('click', 'table.multiselect tr[href]', { self: this }, this.rowSelected);
|
||||
|
||||
|
@ -440,6 +438,11 @@
|
|||
return;
|
||||
}
|
||||
|
||||
// activate spinner indicator
|
||||
if ($a.hasClass('spinner')) {
|
||||
$a.addClass('active');
|
||||
}
|
||||
|
||||
// If link has hash tag...
|
||||
if (href.match(/#/)) {
|
||||
if (href === '#') {
|
||||
|
@ -483,11 +486,6 @@
|
|||
return false;
|
||||
},
|
||||
|
||||
refreshContent: function () {
|
||||
var $icon = $(this).children('i');
|
||||
$icon.addClass($icon.data('load-class'));
|
||||
},
|
||||
|
||||
/**
|
||||
* Detect the link/form target for a given element (link, form, whatever)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue