New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_initUIEvent in widget-uievents.js throws up in chrome when used more than once. #2000

Open
botfanatic opened this Issue Apr 26, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@botfanatic

botfanatic commented Apr 26, 2016

It's probably a typo, but it seems that the value 1 is being assigned to a variable (_uiEvtsInitQueue) that should be an array.

_initUIEvent: function (type) {
    var sType = this._getUIEvent(type),
        queue = this._uiEvtsInitQueue || {};

    if (sType && !queue[sType]) {

        this._uiEvtsInitQueue = queue[sType] = 1;

        this.after(RENDER, function() {
            this._createUIEvent(sType);
            delete this._uiEvtsInitQueue[sType];
        });
    }
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment