[fusion-commits] r1231 - trunk/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Mar 10 12:55:39 EDT 2008


Author: assefa
Date: 2008-03-10 12:55:37 -0400 (Mon, 10 Mar 2008)
New Revision: 1231

Modified:
   trunk/lib/ApplicationDefinition.js
Log:
Small bug in function getMapByIndice

Modified: trunk/lib/ApplicationDefinition.js
===================================================================
--- trunk/lib/ApplicationDefinition.js	2008-03-10 16:53:15 UTC (rev 1230)
+++ trunk/lib/ApplicationDefinition.js	2008-03-10 16:55:37 UTC (rev 1231)
@@ -335,7 +335,7 @@
      */
      getMapByIndice : function(indice) {
          var map = null;
-         if (this.widgetSets.length < indice) {
+         if (this.widgetSets.length > indice) {
              map = this.widgetSets[indice].getMapWidget();
          }
          return map;



More information about the fusion-commits mailing list