[Commits] r2437 - sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/plugins

commits at geoext.org commits at geoext.org
Fri Oct 8 15:07:00 CEST 2010


Author: adube
Date: 2010-10-08 15:07:00 +0200 (Fri, 08 Oct 2010)
New Revision: 2437

Modified:
   sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/plugins/WMSBrowserAlerts.js
Log:
#242 WMSBrowser (in mapgears sandbox), alert popup hidden (fixed) 

Modified: sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/plugins/WMSBrowserAlerts.js
===================================================================
--- sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/plugins/WMSBrowserAlerts.js	2010-10-07 19:13:21 UTC (rev 2436)
+++ sandbox/mapgears/geoext.ux/ux/WMSBrowser/lib/GeoExt.ux/plugins/WMSBrowserAlerts.js	2010-10-08 13:07:00 UTC (rev 2437)
@@ -70,6 +70,13 @@
             extIcon = Ext.MessageBox.WARNING
         }
 
+        // this fix makes sure that the Ext.MessageBow window used to display
+        // the alert is always shown on top of any other windows...
+        if (Ext.MessageBox.getDialog().manager.zseed <= Ext.WindowMgr.zseed) {
+            Ext.MessageBox.getDialog().manager = new Ext.WindowGroup();
+            Ext.MessageBox.getDialog().manager.zseed = Ext.WindowMgr.zseed + 1000;
+        }
+
         Ext.MessageBox.show({
             title: title,
             msg: message,



More information about the Commits mailing list