[Commits] r1187 - apps/opengeo/geoexplorer/branches/0.1.x/lib
commits at geoext.org
commits at geoext.org
Wed Jul 1 02:33:09 CEST 2009
Author: tschaub
Date: 2009-07-01 02:33:09 +0200 (Wed, 01 Jul 2009)
New Revision: 1187
Modified:
apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
Log:
Satisfying jslint.
Modified: apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js 2009-07-01 00:32:44 UTC (rev 1186)
+++ apps/opengeo/geoexplorer/branches/0.1.x/lib/GeoExplorer.js 2009-07-01 00:33:09 UTC (rev 1187)
@@ -566,7 +566,9 @@
scale = scale.items[0];
zoomSelector.setValue("1 : " + parseInt(scale.data.scale, 10));
} else {
- if (!zoomSelector.rendered) return;
+ if (!zoomSelector.rendered) {
+ return;
+ }
zoomSelector.clearValue();
}
});
@@ -645,7 +647,7 @@
}
}
}
- })
+ });
var updateInfo = function() {
var queryableLayers = this.mapPanel.layers.queryBy(function(x){
More information about the Commits
mailing list