From 215ccc270929e9798d1053e3be8c29b1f0bdaeaf Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 27 Mar 2012 17:02:00 +0000 Subject: [PATCH] Avoid errors about missing methods, running out of stack space - probably a missing file... --- etemplate/js/et2_dataview_controller.js | 6 +++--- etemplate/js/et2_extension_nextmatch_controller.js | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/etemplate/js/et2_dataview_controller.js b/etemplate/js/et2_dataview_controller.js index bbb8b8fd3c..9b07c5dbfe 100644 --- a/etemplate/js/et2_dataview_controller.js +++ b/etemplate/js/et2_dataview_controller.js @@ -81,13 +81,13 @@ var et2_dataview_controller = Class.extend({ this._grid.setDataCallback(this._gridCallback, this); // Create the selection manager - this._selectionMgr = new et2_dataview_selectionManager(this._indexMap); +// this._selectionMgr = new et2_dataview_selectionManager(this._indexMap); }, destroy: function () { // Destroy the selection manager - this._selectionMgr.free(); +// this._selectionMgr.free(); // Clear the selection timeout this._clearTimer(); @@ -473,7 +473,7 @@ var et2_dataview_controller = Class.extend({ ao.updateActionLinks(links); // 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 diff --git a/etemplate/js/et2_extension_nextmatch_controller.js b/etemplate/js/et2_extension_nextmatch_controller.js index e1c0c56a0c..40a03bec1f 100644 --- a/etemplate/js/et2_extension_nextmatch_controller.js +++ b/etemplate/js/et2_extension_nextmatch_controller.js @@ -89,10 +89,11 @@ var et2_nextmatch_controller = et2_dataview_controller.extend( if (this._actionManager) { this._objectManager.clear(); - this._actionManager.clear(); + // TODO: No such method. Maybe implement it? + //this._actionManager.clear(); } - this._super(); + //this._super(); }, /**