JS: Fix usage of global variable self used to reference icinga in loader.js::onComplete()

refs #10703
This commit is contained in:
Eric Lippmann 2016-09-09 13:18:00 +02:00
parent cf5e26c56c
commit 7e47a2965c
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@
var url = req.url;
if (req.$target[0].id === 'col1') {
self.icinga.behaviors.navigation.trySetActiveByUrl(url);
this.icinga.behaviors.navigation.trySetActiveByUrl(url);
}
var $forms = $('[action="' + this.icinga.utils.parseUrl(url).path + '"]');