* @return string
*/
wcfIdentify: function() {
- return window.bc_wcfDOMUtil.identify(this[0]);
+ return window.bc_wcfDomUtil.identify(this[0]);
},
/**
* @return string
*/
getRandomID: function() {
- return window.bc_wcfDOMUtil.getUniqueId();
+ return window.bc_wcfDomUtil.getUniqueId();
},
/**
};
/**
- * @deprecated Use WoltLab/WCF/DOM/Change/Listener
+ * @deprecated Use WoltLab/WCF/Dom/Change/Listener
*/
WCF.DOMNodeInsertedHandler = {
addCallback: function(identifier, callback) {
- require(['WoltLab/WCF/DOM/Change/Listener'], function (ChangeListener) {
+ require(['WoltLab/WCF/Dom/Change/Listener'], function (ChangeListener) {
ChangeListener.add('__legacy__', callback);
});
},
_executeCallbacks: function() {
- require(['WoltLab/WCF/DOM/Change/Listener'], function (ChangeListener) {
+ require(['WoltLab/WCF/Dom/Change/Listener'], function (ChangeListener) {
ChangeListener.trigger();
});
},
wcfDialog: function(method) {
var args = arguments;
- require(['DOM/Util', 'UI/Dialog'], (function(DOMUtil, UIDialog) {
+ require(['Dom/Util', 'Ui/Dialog'], (function(DOMUtil, UIDialog) {
var id = DOMUtil.identify(this[0]);
if (method === 'close') {
wcfTabs: function(method) {
var element = this[0], parameters = Array.prototype.slice.call(arguments, 1);
- require(['DOM/Util', 'WoltLab/WCF/UI/TabMenu'], function(DOMUtil, TabMenu) {
+ require(['Dom/Util', 'WoltLab/WCF/Ui/TabMenu'], function(DOMUtil, TabMenu) {
var container = TabMenu.getTabMenu(DOMUtil.identify(element));
if (container !== null) {
container[method].apply(container, parameters);