From d898e200e48a2bba11a39cd5c512e84a01d807e7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 5 Jul 2017 10:20:02 +0200 Subject: [PATCH] Integrate generalUI --- UI/UIManager.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/UI/UIManager.js b/UI/UIManager.js index 17bf57f..cec09dc 100644 --- a/UI/UIManager.js +++ b/UI/UIManager.js @@ -31,6 +31,7 @@ this.tableManager = new jsOMS.UI.Component.Table(this.app.responseManager); this.actionManager = new jsOMS.UI.ActionManager(this.app); this.dragNDrop = new jsOMS.UI.DragNDrop(this.app); + this.generalUI = new jsOMS.UI.GeneralUI(); let self = this; this.domObserver = new MutationObserver(function(mutations) { @@ -60,8 +61,10 @@ this.tableManager.bind(); this.actionManager.bind(); this.dragNDrop.bind(); + this.generalUI.bind(); } else { const tag = document.getElementById(id); + this.generalUI.bind(tag); if(!tag) { return; @@ -169,4 +172,19 @@ { return this.domObserver; }; + + /** + * Get general UI + * + * @return {Object} + * + * @method + * + * @since 1.0.0 + * @author Dennis Eichhorn + */ + jsOMS.UI.UIManager.prototype.getGeneralUI = function () + { + return this.generalUI; + }; }(window.jsOMS = window.jsOMS || {}));