* @param boolean enableOnInit
*/
_prepareElement: function(enableOnInit) {
+ // enable DOMNodeInserted event
+ WCF.DOMNodeInsertedHandler.enable();
+
this._element.wrap('<div class="dropdown preInput" />');
var $wrapper = this._element.parent();
var $button = $('<p class="button dropdownToggle"><span>' + WCF.Language.get('wcf.global.button.disabledI18n') + '</span></p>').prependTo($wrapper);
}
WCF.Dropdown.registerCallback($wrapper.wcfIdentify(), $.proxy(this._handleAction, this));
+
+ // enable DOMNodeInserted event
+ WCF.DOMNodeInsertedHandler.disable();
},
/**
*/
_defaultDimensions: {
height: 150,
- width: 450,
+ width: 450
},
/**