diff --git a/src/widget/js/WidgetUIEvents.js b/src/widget/js/WidgetUIEvents.js index c54fcbbaad2..dc808f45807 100644 --- a/src/widget/js/WidgetUIEvents.js +++ b/src/widget/js/WidgetUIEvents.js @@ -189,7 +189,8 @@ Y.mix(Widget.prototype, { if (sType && !queue[sType]) { Y.log("Deferring creation of " + type + " delegate until render.", "info", "widget"); - this._uiEvtsInitQueue = queue[sType] = 1; + queue[sType] = 1; + this._uiEvtsInitQueue = queue; this.after(RENDER, function() { this._createUIEvent(sType);