From 27514cefc2bab4c79bbc8e84891698b611b3c2a0 Mon Sep 17 00:00:00 2001 From: Michael Anderson Date: Tue, 26 Apr 2016 14:41:00 -0500 Subject: [PATCH 1/2] Update WidgetUIEvents.js _uiEvtsInitQueue is incorrectly being assigned a 1 -- the variable should be treated as an associative array. --- src/widget/js/WidgetUIEvents.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/js/WidgetUIEvents.js b/src/widget/js/WidgetUIEvents.js index c54fcbbaad2..624caa1b9f0 100644 --- a/src/widget/js/WidgetUIEvents.js +++ b/src/widget/js/WidgetUIEvents.js @@ -189,7 +189,7 @@ Y.mix(Widget.prototype, { if (sType && !queue[sType]) { Y.log("Deferring creation of " + type + " delegate until render.", "info", "widget"); - this._uiEvtsInitQueue = queue[sType] = 1; + this._uiEvtsInitQueue[sType] = queue[sType] = 1; this.after(RENDER, function() { this._createUIEvent(sType); From 7ff8840b4182df0e8141d1893643d90a4798fb5d Mon Sep 17 00:00:00 2001 From: Michael Anderson Date: Tue, 26 Apr 2016 16:12:44 -0500 Subject: [PATCH 2/2] Update WidgetUIEvents.js _uiEvtsInitQueue may not be initialized. --- src/widget/js/WidgetUIEvents.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widget/js/WidgetUIEvents.js b/src/widget/js/WidgetUIEvents.js index 624caa1b9f0..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[sType] = queue[sType] = 1; + queue[sType] = 1; + this._uiEvtsInitQueue = queue; this.after(RENDER, function() { this._createUIEvent(sType);