Merge branch 'master' of git.icinga.org:icingaweb2

This commit is contained in:
Alexander Klimov 2014-03-12 11:22:56 +01:00
commit 91b1a649a7
2 changed files with 4 additions and 2 deletions

View File

@ -75,8 +75,8 @@ class Cli extends ApplicationBootstrap
protected function fixLoggingConfig() protected function fixLoggingConfig()
{ {
$conf = & $this->getConfig()->logging; $conf = $this->config->logging;
if ($conf->type === 'stream') { if (! isset($conf->type) || $conf->type === 'stream') {
$conf->level = $this->verbose; $conf->level = $this->verbose;
$conf->target = 'php://stderr'; $conf->target = 'php://stderr';
} }

View File

@ -252,6 +252,8 @@
$el.closest('li').addClass('active'); $el.closest('li').addClass('active');
$el.parents('li').addClass('active'); $el.parents('li').addClass('active');
} }
// Interrupt .each, only on menu item shall be active
return false;
} else if ($(el).closest('table.action').length) { } else if ($(el).closest('table.action').length) {
$el.addClass('active'); $el.addClass('active');
} }