rem: p.set_id = this.Map.polygonsets[s].set_id; p.style_id = this.Map.polygonsets[s].style_id; p.plot_on_load = this.Map.polygonsets[s].plot_on_load; p.side_panel = this.Map.polygonsets[s].side_panel; p.explode = this.Map.polygonsets[s].explode; p.array_n = parseInt(n); 
add: var s = this.Map.polygonsets[s_i]; p.set_id = s.set_id; p.style_id = s.style_id; p.plot_on_load = s.plot_on_load; p.side_panel = s.side_panel; p.explode = s.explode; p.array_n = parseInt(n_i); 
context: 	"updatePolygon": function(rslt){	    var xml = rslt.responseXML.documentElement;									var n_i = this.editObjectN;		var s_i = this._setIndexRef;		var p;		if ( n_i == null){			var n_i = this.Map.polygons.length;			p = this.Map.polygons[n_i] = [];			p.array_n = n_i;		}else{			p = this.Map.polygons[n_i];		}				//shorten var names		var id = xml.documentElement.getElementsByTagName('polygon_id');					p.polygon_id = parseInt(id[0].firstChild.nodeValue);		var nm = xml.documentElement.getElementsByTagName('name');		p.name = nm[0].firstChild.nodeValue;		var dt = xml.documentElement.getElementsByTagName('points_data');		var points_data = dt[0].firstChild.nodeValue;		p.points_data = points_data.split(",");		var cc = xml.documentElement.getElementsByTagName('circle_center');		var circle_center = cc[0].firstChild.nodeValue;		p.circle_center = circle_center.split(",");		var rd = xml.documentElement.getElementsByTagName('radius');		p.radius = rd[0].firstChild.nodeValue;				if ( this.editObjectN == null){			p.set_id = this.Map.polygonsets[s].set_id;			p.style_id = this.Map.polygonsets[s].style_id;			p.plot_on_load = this.Map.polygonsets[s].plot_on_load;			p.side_panel = this.Map.polygonsets[s].side_panel;			p.explode = this.Map.polygonsets[s].explode;			p.array_n = parseInt(n);		}else{			this.Map.map.removeOverlay(p.polygon);		}				//create polygon		this.Map.attachPolygon(n_i);		this.removeAssistant();		this.hideSpinner("DONE!");		this.editPolygons(s_i);		this.editPolygon(n_i);	},
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1713/40d0cd6e952aee63e536f8eaef57b275da171cfd/Edit.js/buggy/templates/Edit.js