[Commits] r1216 - apps/opengeo/geoexplorer/trunk/src/script/app

commits at geoext.org commits at geoext.org
Sat Jul 4 00:58:43 CEST 2009


Author: tschaub
Date: 2009-07-04 00:58:43 +0200 (Sat, 04 Jul 2009)
New Revision: 1216

Modified:
   apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
Log:
Accounting for the uncheck at start of drag issue (#112).

Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js	2009-07-03 20:54:20 UTC (rev 1215)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js	2009-07-03 22:58:43 UTC (rev 1216)
@@ -412,6 +412,10 @@
                         c.showAt(e.getXY());
                     }
                 },
+                // TODO: remove this when http://www.geoext.org/trac/geoext/ticket/112 is closed
+                startdrag: function(tree, node, evt) {
+                    node.getUI().checkbox.checked = node.attributes.checked;
+                },                
                 scope: this
             },
             contextMenu: new Ext.menu.Menu({



More information about the Commits mailing list