From 9b7e48659c65b24eb94ad873f8d8368e7f935bab Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 13 Jan 2017 11:30:55 +0100 Subject: [PATCH] js: debug log initialized when really done ...plus cosmetics --- public/js/module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/module.js b/public/js/module.js index 8317f534..20c1bc95 100644 --- a/public/js/module.js +++ b/public/js/module.js @@ -25,7 +25,6 @@ // this.module.on('click', 'div.controls ul.tabs a', this.detailTabClick); this.module.on('click', 'input.related-action', this.extensibleSetAction); this.module.on('focus', 'form input, form textarea, form select', this.formElementFocus); - this.module.icinga.logger.debug('Director module initialized'); this.module.on('keyup', '.director-suggest', this.autoSuggest); this.module.on('keydown', '.director-suggest', this.suggestionKeyDown); this.module.on('dblclick', '.director-suggest', this.suggestionDoubleClick); @@ -33,6 +32,7 @@ this.module.on('focusout', '.director-suggest', this.leaveSuggestionField); this.module.on('click', '.director-suggestions li', this.clickSuggestion); this.module.on('change', 'form input.autosubmit, form select.autosubmit', this.setAutoSubmitted); + this.module.icinga.logger.debug('Director module initialized'); }, /** @@ -693,7 +693,7 @@ if ($fieldset.attr('id') === 'fieldset-assign') { return; } - if ($fieldset.find('.required').length == 0 && (! self.fieldsetWasOpened($fieldset))) { + if ($fieldset.find('.required').length === 0 && (! self.fieldsetWasOpened($fieldset))) { $fieldset.addClass('collapsed'); self.fixFieldsetInfo($fieldset); }