- Timestamp:
- 10/02/09 19:45:28 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
contribs/mapfish-api/trunk/MapFishApi/js/mapfish_api.js
r2994 r3016 84 84 */ 85 85 selectCtrl: null, 86 87 /** 88 * Property: popup 89 * GeoExt.Popup 90 */ 91 popup: null, 86 92 87 93 /** … … 804 810 } 805 811 812 if (this.popup) { 813 this.popup.close(); 814 } 815 806 816 if (html) { 807 varpopup = new GeoExt.Popup({817 this.popup = new GeoExt.Popup({ 808 818 map: this.map, 809 819 feature: feature, … … 816 826 }); 817 827 if (feature) { 818 popup.on({828 this.popup.on({ 819 829 close: function() { 820 830 if (OpenLayers.Util.indexOf(this.drawLayer.selectedFeatures, … … 826 836 }); 827 837 } 828 popup.show();838 this.popup.show(); 829 839 } 830 840
