[Commits] r2873 - sandbox/mapgears/geoext.ux/ux/ZoomTo/lib/GeoExt.ux/widgets

commits at geoext.org commits at geoext.org
Fri Feb 3 20:49:45 CET 2012


Author: adube
Date: 2012-02-03 20:49:45 +0100 (Fri, 03 Feb 2012)
New Revision: 2873

Modified:
   sandbox/mapgears/geoext.ux/ux/ZoomTo/lib/GeoExt.ux/widgets/ZoomTo.js
Log:
ZoomTo, small bug fix when dragging and popup not shown yet

Modified: sandbox/mapgears/geoext.ux/ux/ZoomTo/lib/GeoExt.ux/widgets/ZoomTo.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/ZoomTo/lib/GeoExt.ux/widgets/ZoomTo.js	2012-02-03 16:46:09 UTC (rev 2872)
+++ sandbox/mapgears/geoext.ux/ux/ZoomTo/lib/GeoExt.ux/widgets/ZoomTo.js	2012-02-03 19:49:45 UTC (rev 2873)
@@ -270,6 +270,11 @@
             items: [this.form],
             buttons: windowButtons
         });
+        // force window to render.  forceLayout: true didn't do the trick to
+        // avoid error while dragging the marker without showing the window
+        // first
+        this.window.show();
+        this.window.hide();
     },
 
     /** private: method[onProjctionSelect]



More information about the Commits mailing list