mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-23 18:07:42 +02:00
events.js: Adjust dashlets loading to the new dashlet layout
This commit is contained in:
parent
652d432e54
commit
629636ae95
@ -165,15 +165,13 @@
|
||||
var _this = event.data.self;
|
||||
var $target = $(event.target);
|
||||
|
||||
if ($target.children('.dashboard').length) {
|
||||
$target.find('.dashboard > .container').each(function () {
|
||||
var $dashlet = $(this);
|
||||
var url = $dashlet.data('icingaUrl');
|
||||
if (typeof url !== 'undefined') {
|
||||
_this.icinga.loader.loadUrl(url, $dashlet).autorefresh = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
$target.find('.dashboard > .container').each(function () {
|
||||
var $dashlet = $(this);
|
||||
var url = $dashlet.data('icingaUrl');
|
||||
if (typeof url !== 'undefined') {
|
||||
_this.icinga.loader.loadUrl(url, $dashlet).autorefresh = true;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
rememberSubmitButton: function(e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user