[Commits] r977 - apps/opengeo/geoexplorer/trunk/lib

commits at geoext.org commits at geoext.org
Wed Jun 3 20:58:00 CEST 2009


Author: tcoulter
Date: 2009-06-03 20:58:00 +0200 (Wed, 03 Jun 2009)
New Revision: 977

Modified:
   apps/opengeo/geoexplorer/trunk/lib/Viewer.js
Log:
Viewer previously ignored setting values overridden by query parameters.

Modified: apps/opengeo/geoexplorer/trunk/lib/Viewer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/Viewer.js	2009-06-03 18:46:55 UTC (rev 976)
+++ apps/opengeo/geoexplorer/trunk/lib/Viewer.js	2009-06-03 18:58:00 UTC (rev 977)
@@ -23,8 +23,8 @@
         var queryConfig = Ext.util.JSON.decode(query.q);
         
         this.initialConfig = Ext.apply({}, queryConfig, config);
-        Ext.apply(this, config);
-
+        Ext.apply(this, this.initialConfig);
+        
         // add any custom application events
         this.addEvents(
             /**



More information about the Commits mailing list