Avoid errors about missing methods, running out of stack space - probably a missing file...

This commit is contained in:
Nathan Gray 2012-03-27 17:02:00 +00:00
parent 4a08f033e7
commit 215ccc2709
2 changed files with 6 additions and 5 deletions

View File

@ -81,13 +81,13 @@ var et2_dataview_controller = Class.extend({
this._grid.setDataCallback(this._gridCallback, this); this._grid.setDataCallback(this._gridCallback, this);
// Create the selection manager // Create the selection manager
this._selectionMgr = new et2_dataview_selectionManager(this._indexMap); // this._selectionMgr = new et2_dataview_selectionManager(this._indexMap);
}, },
destroy: function () { destroy: function () {
// Destroy the selection manager // Destroy the selection manager
this._selectionMgr.free(); // this._selectionMgr.free();
// Clear the selection timeout // Clear the selection timeout
this._clearTimer(); this._clearTimer();
@ -473,7 +473,7 @@ var et2_dataview_controller = Class.extend({
ao.updateActionLinks(links); ao.updateActionLinks(links);
// Hook the row into the selection manager // Hook the row into the selection manager
this.self._selectionMgr.hook(ao, aoi, this.entry.uid); // this.self._selectionMgr.hook(ao, aoi, this.entry.uid);
} }
// Invalidate the current row entry // Invalidate the current row entry

View File

@ -89,10 +89,11 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(
if (this._actionManager) if (this._actionManager)
{ {
this._objectManager.clear(); this._objectManager.clear();
this._actionManager.clear(); // TODO: No such method. Maybe implement it?
//this._actionManager.clear();
} }
this._super(); //this._super();
}, },
/** /**