[Commits] r1229 - apps/opengeo/geoexplorer/trunk/src/script/app
commits at geoext.org
commits at geoext.org
Mon Jul 6 15:03:46 CEST 2009
Author: ahocevar
Date: 2009-07-06 15:03:46 +0200 (Mon, 06 Jul 2009)
New Revision: 1229
Modified:
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
Log:
fixed updating of capabilities source after adding a new service
Modified: apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-07-05 01:50:21 UTC (rev 1228)
+++ apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js 2009-07-06 13:03:46 UTC (rev 1229)
@@ -691,8 +691,8 @@
// do is select it. Note: There's probably a better way to do this,
// but there doesn't seem to be another way to get the select event
// to fire.
- var index = this.layerSources.find("identifier", record.data.identifier);
- sourceComboBox.fireEvent("select", sourceComboBox, record, index);
+ var index = this.layerSources.find("identifier", record.get("identifier"));
+ sourceComboBox.onSelect(record, index);
// Close the new source window.
newSourceWindow.hide();
More information about the Commits
mailing list