JS "impact" handling needs improvement, first step here

This commit is contained in:
Thomas Gelf 2014-03-06 18:53:31 +00:00
parent 84a62b7bbf
commit 097d3a94a4
1 changed files with 5 additions and 0 deletions

View File

@ -287,6 +287,11 @@
if (windowId) {
this.icinga.ui.setWindowId(windowId);
}
// Remove 'impact' class if there was such
if (req.$target.hasClass('impact')) {
req.$target.removeClass('impact');
}
// Handle search requests, still hardcoded
if (req.url === '/search' &&