rem: if ( ( Map.PolygonSets[s] != null ) && ( Map.PolygonSets[s].set_id == editSetId ) ){ 
add: if ( ( Map.PolygonSets[s] != null ) && ( Map.PolygonSets[s].set_id == BitMap.Edit.editSetId ) ){ 
context: BitMap.Edit.updateRemovePolygonSet = function(Map){	for (var n=0; n<Map.Polygons.length; n++){		if ( Map.Polygons[n] != null && Map.Polygons[n].polygon != null && Map.Polygons[n].set_id == editSetId ){			map.removeOverlay(Map.Polygons[n].polygon);			Map.Polygons[n].polygon = null;			Map.Polygons[n] = null;		}	}	for (var s=0; s<Map.PolygonSets.length; s++){		if ( ( Map.PolygonSets[s] != null ) && ( Map.PolygonSets[s].set_id == editSetId ) ){			var getElem = "polygonset_"+Map.PolygonSets[s].set_id;			if ( $(getElem) ) {				var extraPolygonForm = $(getElem);				$('editpolygonform').removeChild(extraPolygonForm);			}			Map.PolygonSets[s].set_id = null;			Map.PolygonSets[s] = null;  	}	}}
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/cc6f22930d4e12134b6173f5ac3df158f26afdfa/Edit.js/buggy/templates/Edit.js