Changeset 1229

Show
Ignore:
Timestamp:
07/06/09 15:03:46 (4 years ago)
Author:
ahocevar
Message:

fixed updating of capabilities source after adding a new service

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js

    r1219 r1229  
    692692                // but there doesn't seem to be another way to get the select event 
    693693                // to fire. 
    694                 var index = this.layerSources.find("identifier", record.data.identifier); 
    695                 sourceComboBox.fireEvent("select", sourceComboBox, record, index); 
     694                var index = this.layerSources.find("identifier", record.get("identifier")); 
     695                sourceComboBox.onSelect(record, index); 
    696696                 
    697697                // Close the new source window.