diff --git a/public/js/icinga/behavior/datetime-picker.js b/public/js/icinga/behavior/datetime-picker.js index 5a5f5d39a..fb0ddffc3 100644 --- a/public/js/icinga/behavior/datetime-picker.js +++ b/public/js/icinga/behavior/datetime-picker.js @@ -45,7 +45,7 @@ */ this._pickers = new Map(); - this.on('rendered', this.onRendered, this); + this.on('rendered', '#main > .container, #modal-content', this.onRendered, this); this.on('close-column', this.onCloseContainer, this); this.on('close-modal', this.onCloseContainer, this); };