Changeset 1185
- Timestamp:
- 07/01/09 02:22:55 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js
r1183 r1185 679 679 // set layer title from config 680 680 if (conf.title) { 681 layer.name = conf.title; 681 /** 682 * Because the layer title data is duplicated, we have 683 * to set it in both places. After records have been 684 * added to the store, the store handles this 685 * synchronization. 686 */ 687 layer.setName(conf.title); 688 record.set("title", conf.title); 682 689 } 683 690