Having an issue with data binding and click events being fired multiple times.
I have a master view object that binds data to a view on init.
View.prototype.init = function (e)
{
this.id = e.view.id;
this.elm = e.view.element;
this.view = e.view;
this.view.bind('show', this.show.bind(this));
this.view.bind('hide', this.hide.bind(this));
kendo.bind(this.elm, this.data, kendo.mobile.ui);
};
For some reason click events are being fired twice.
I have a master view object that binds data to a view on init.
View.prototype.init = function (e)
{
this.id = e.view.id;
this.elm = e.view.element;
this.view = e.view;
this.view.bind('show', this.show.bind(this));
this.view.bind('hide', this.hide.bind(this));
kendo.bind(this.elm, this.data, kendo.mobile.ui);
};
For some reason click events are being fired twice.