From: Michael M Slusarz Date: Tue, 7 Apr 2009 19:18:43 +0000 (-0600) Subject: Better way to instantiate this variable. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=44a42058fe3ebb48be7130f5ab895a1d4c8db8ce;p=horde.git Better way to instantiate this variable. --- diff --git a/imp/js/src/ViewPort.js b/imp/js/src/ViewPort.js index 589157eea..2af3ccdcc 100644 --- a/imp/js/src/ViewPort.js +++ b/imp/js/src/ViewPort.js @@ -1466,6 +1466,10 @@ ViewPort_Filter = Class.create({ * ViewPort_Selection */ ViewPort_Selection = Class.create({ + + // Define property to aid in object detection + viewport_selection: true, + // Formats: // 'dataob' = Data objects // 'div' = DOM DIVs @@ -1479,9 +1483,6 @@ ViewPort_Selection = Class.create({ if (!Object.isUndefined(format)) { this.add(format, data); } - - // Define property to aid in object detection - this.viewport_selection = true; }, add: function(format, d)