mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
3b2e3dcd36
commit
4505718ecc
@ -115,8 +115,6 @@
|
|||||||
$(document).on('click', 'a', { self: this }, this.linkClicked);
|
$(document).on('click', 'a', { self: this }, this.linkClicked);
|
||||||
$(document).on('click', 'tr[href]', { 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
|
// Select a table row
|
||||||
$(document).on('click', 'table.multiselect tr[href]', { self: this }, this.rowSelected);
|
$(document).on('click', 'table.multiselect tr[href]', { self: this }, this.rowSelected);
|
||||||
|
|
||||||
@ -440,6 +438,11 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// activate spinner indicator
|
||||||
|
if ($a.hasClass('spinner')) {
|
||||||
|
$a.addClass('active');
|
||||||
|
}
|
||||||
|
|
||||||
// If link has hash tag...
|
// If link has hash tag...
|
||||||
if (href.match(/#/)) {
|
if (href.match(/#/)) {
|
||||||
if (href === '#') {
|
if (href === '#') {
|
||||||
@ -483,11 +486,6 @@
|
|||||||
return false;
|
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)
|
* Detect the link/form target for a given element (link, form, whatever)
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user