Changeset 3207
- Timestamp:
- 05/30/07 09:51:28 (1 year ago)
- Files:
-
- trunk/openlayers/lib/OpenLayers/Control/Panel.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Control/Panel.js
r3106 r3207 104 104 control.trigger(); 105 105 return; 106 } 106 } 107 if (control.type == OpenLayers.Control.TYPE_TOGGLE) { 108 if (control.active) { 109 control.deactivate(); 110 } else { 111 control.activate(); 112 } 113 return; 114 } 107 115 for (var i = 0; i < this.controls.length; i++) { 108 116 if (this.controls[i] == control) {
