datetime-picker.js: Only handle content inside top-level or modal containers
This commit is contained in:
parent
29d0b8f2c7
commit
67da4ea757
|
@ -45,7 +45,7 @@
|
||||||
*/
|
*/
|
||||||
this._pickers = new Map();
|
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-column', this.onCloseContainer, this);
|
||||||
this.on('close-modal', this.onCloseContainer, this);
|
this.on('close-modal', this.onCloseContainer, this);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue