rem:  i=this.Map.controls.scale?1:0; 
add: i=(this.Map.controls.scale == true||this.Map.controls.scale=='true')?1:0; 
context: 	"editMap": function(){			  var form = $('edit-map-form');		form.reset();		BitMap.show('edit-map-table');		  form.gmap_id.value = this.Map.id? this.Map.id:"";	  form.title.value = this.Map.title?this.Map.title:"";	  form.map_desc.value = this.Map.description?this.Map.description:"";	  form.map_w.value = this.Map.width;	  form.map_h.value = this.Map.height;	  form['geo[lat]'].value = this.Map.center.lat;	  form['geo[lng]'].value = this.Map.center.lng;	  form.map_z.value = this.Map.zoom;		form.edit.value = this.Map.data?this.Map.data:"";		  var i;	  for (i=0; i < 4; i++) {	    if (form.map_showcont.options[i].value == this.Map.controls.zoom_control){	      form.map_showcont.options[i].selected=true;	    }	  }		  i=this.Map.controls.scale?1:0;	  form.map_showscale.options[i].selected=true;				  i=this.Map.controls.maptype_control?1:0;	  form.map_showtypecont.options[i].selected=true;								  var mapTypeRoot = form.maptype;			var mapTypeCount = 3;			if (this.Map.maptypes > 0){			mapTypeCount += this.Map.maptypes.length;			var newMaptype = mapTypeRoot.options[0].cloneNode(false);			for (i=0; i<this.Map.maptypes.length; i++){	      mapTypeRoot.appendChild(newMaptype);	      mapTypeRoot.options[i+3].value = this.Map.maptypes[i].maptype_id;	      mapTypeRoot.options[i+3].text = this.Map.maptypes[i].name;			}		}								  for (var i=0; i<mapTypeCount; i++) {	    if (form.maptype.options[i].value == this.Map.maptype){	      form.maptype.options[i].selected=true;	    }	  }											  /*@todo create value for comments		  form.map_comm.value = ?; for type="checkbox		*/	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/d09929612dff776b803ea9815a6ca13d69893246/Edit.js/buggy/templates/Edit.js