[fusion-commits] r1228 - branches/fusion-1.0/lib

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Mar 10 12:02:06 EDT 2008


Author: assefa
Date: 2008-03-10 12:02:05 -0400 (Mon, 10 Mar 2008)
New Revision: 1228

Modified:
   branches/fusion-1.0/lib/ApplicationDefinition.js
Log:
Correct small error in function getMapByIndice

Modified: branches/fusion-1.0/lib/ApplicationDefinition.js
===================================================================
--- branches/fusion-1.0/lib/ApplicationDefinition.js	2008-03-10 15:47:06 UTC (rev 1227)
+++ branches/fusion-1.0/lib/ApplicationDefinition.js	2008-03-10 16:02:05 UTC (rev 1228)
@@ -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