mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 20:34:25 +02:00
Revert "Ajax onFailure: Write component URL to container"
This reverts commit ae68e8aec42703c988ca2d5f2620e8a23ac4e4b1. fixes #9042 fixes #9544
This commit is contained in:
parent
68bd24147c
commit
b4fe91bb2f
@ -453,6 +453,8 @@
|
|||||||
var $el = $(el);
|
var $el = $(el);
|
||||||
if ($el.hasClass('dashboard')) {
|
if ($el.hasClass('dashboard')) {
|
||||||
return;
|
return;
|
||||||
|
} else {
|
||||||
|
|
||||||
}
|
}
|
||||||
var url = $el.data('icingaUrl');
|
var url = $el.data('icingaUrl');
|
||||||
targets[i].data('icingaUrl', url);
|
targets[i].data('icingaUrl', url);
|
||||||
@ -559,7 +561,7 @@
|
|||||||
} else {
|
} else {
|
||||||
// Request wasn't for a container, so it's usually the body
|
// Request wasn't for a container, so it's usually the body
|
||||||
// or the full layout. Push request URL to history:
|
// or the full layout. Push request URL to history:
|
||||||
this.icinga.history.pushCurrentState();
|
this.icinga.history.pushUrl(req.url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -589,8 +591,6 @@
|
|||||||
|
|
||||||
req.failure = true;
|
req.failure = true;
|
||||||
|
|
||||||
req.$target.data('icingaUrl', req.url);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Test if a manual actions comes in and autorefresh is active: Stop refreshing
|
* Test if a manual actions comes in and autorefresh is active: Stop refreshing
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user