mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°5888 - Move resize observer to dedicated events listener method
This commit is contained in:
14
js/utils.js
14
js/utils.js
@@ -1399,6 +1399,7 @@ let CombodoModal = {
|
||||
if (false === this._InstantiateModal(oModalElem, oOptions)) {
|
||||
return null;
|
||||
}
|
||||
this._BindEvents(oModalElem);
|
||||
|
||||
return oModalElem;
|
||||
},
|
||||
@@ -1425,6 +1426,19 @@ let CombodoModal = {
|
||||
CombodoJSConsole.Debug('CombodoModal._InstantiateModal not implemented');
|
||||
return false;
|
||||
},
|
||||
/**
|
||||
* Bind event on the modal
|
||||
*
|
||||
* @param oModalElem {Object} The jQuery object representing the modal element
|
||||
* @returns {boolean}
|
||||
* @private
|
||||
* @internal
|
||||
*/
|
||||
_BindEvents: function(oModalElem) {
|
||||
// Meant for overlaoding
|
||||
CombodoJSConsole.Debug('CombodoModal._BindEvents not implemented');
|
||||
return false;
|
||||
},
|
||||
/**
|
||||
* Center the modal in the current viewport
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user