Skip to content

Instantly share code, notes, and snippets.

@lsmith
Created July 16, 2012 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lsmith/3124468 to your computer and use it in GitHub Desktop.
Save lsmith/3124468 to your computer and use it in GitHub Desktop.
Patch for 3.6.0pr2 and pr3 DataTable
Y.DataTable.BodyView.prototype._afterModelListChange = function (e) {
var handles = this._eventHandles;
if (handles.dataChange) {
handles.dataChange.detach();
delete handles.dataChange; // <-- this line is missing in the core code
this.bindUI();
}
if (this.tbodyNode) {
this.render();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment