[Commits] r1186 - apps/opengeo/geoexplorer/trunk/src/script/app
commits at geoext.org
commits at geoext.org
Wed Jul 1 02:32:44 CEST 2009
Author: tschaub
Date: 2009-07-01 02:32:44 +0200 (Wed, 01 Jul 2009)
New Revision: 1186
Modified:
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
Log:
Satisfying jslint.
Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-07-01 00:22:55 UTC (rev 1185)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-07-01 00:32:44 UTC (rev 1186)
@@ -970,7 +970,9 @@
scale = scale.items[0];
zoomSelector.setValue("1 : " + parseInt(scale.data.scale, 10));
} else {
- if (!zoomSelector.rendered) return;
+ if (!zoomSelector.rendered) {
+ return;
+ }
zoomSelector.clearValue();
}
});
@@ -1036,8 +1038,6 @@
control: historyControl.next
});
- var toolGroup = "toolGroup";
-
// create a get feature info control
var info = {controls: []};
var infoButton = new Ext.Button({
@@ -1450,11 +1450,11 @@
var mapInfo = new Ext.Panel({
title: "Map Info",
- html: '<div class="gx-info-panel">'
- + '<h2> Title </h2> <p>' + about.title
- + '</p> <h2> Abstract </h2> <p>' + about['abstract']
- + '</p> <h2> Keywords </h2> <p>' + about.keywords
- + '</p> <h2> Contact </h2> <p>' + about.contact +' </p> </div>',
+ html: '<div class="gx-info-panel">' +
+ '<h2> Title </h2> <p>' + about.title +
+ '</p> <h2> Abstract </h2> <p>' + about['abstract'] +
+ '</p> <h2> Keywords </h2> <p>' + about.keywords +
+ '</p> <h2> Contact </h2> <p>' + about.contact +' </p> </div>',
height: 'auto',
width: 'auto'
});
More information about the Commits
mailing list