mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-23 15:08:41 +00:00
Integrate generalUI
This commit is contained in:
parent
76271c1177
commit
d898e200e4
|
|
@ -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 <d.eichhorn@oms.com>
|
||||
*/
|
||||
jsOMS.UI.UIManager.prototype.getGeneralUI = function ()
|
||||
{
|
||||
return this.generalUI;
|
||||
};
|
||||
}(window.jsOMS = window.jsOMS || {}));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user