rem: var s = this.Map.PolylineStyles[editObjectN]; 
add: var s = this.Map.polylinestyles[editObjectN]; 
context: 	 BitMap.Edit.prototype.updatePolylineStyle = function(rslt){      var xml = rslt.responseXML;			//get the style we are updating			var s = this.Map.PolylineStyles[editObjectN];			// assign markerstyle values data array						var id = xml.documentElement.getElementsByTagName('style_id');			  		s.style_id = parseInt( id[0].firstChild.nodeValue );			var nm = xml.documentElement.getElementsByTagName('name');			  		s.name = nm[0].firstChild.nodeValue;			var tp = xml.documentElement.getElementsByTagName('polyline_style_type');			  		s.polyline_style_type = parseInt( tp[0].firstChild.nodeValue );			var cl = xml.documentElement.getElementsByTagName('color');			  		s.color = cl[0].firstChild.nodeValue;			var wt = xml.documentElement.getElementsByTagName('weight');			  		s.weight = parseInt( wt[0].firstChild.nodeValue );			var op = xml.documentElement.getElementsByTagName('opacity');			  		s.opacity = op[0].firstChild.nodeValue;			var pt = xml.documentElement.getElementsByTagName('pattern');			  		s.pattern = pt[0].firstChild.nodeValue;			var sc = xml.documentElement.getElementsByTagName('segment_count');			  		s.segment_count = parseInt( sc[0].firstChild.nodeValue );			var ba = xml.documentElement.getElementsByTagName('begin_arrow');			if (ba[0].firstChild.nodeValue == 'true'){ s.begin_arrow = true; }else{ s.begin_arrow = false; };			var ea = xml.documentElement.getElementsByTagName('end_arrow');			if (ea[0].firstChild.nodeValue == 'true'){ s.end_arrow = true; }else{ s.end_arrow = false; };			var ae = xml.documentElement.getElementsByTagName('arrows_every');			  		s.arrows_every = parseInt( ae[0].firstChild.nodeValue );			var te = xml.documentElement.getElementsByTagName('text_every');			  		s.text_every = parseInt( te[0].firstChild.nodeValue );			var tfc = xml.documentElement.getElementsByTagName('text_fgstyle_color');			  		s.text_fgstyle_color = tfc[0].firstChild.nodeValue;			var tfw = xml.documentElement.getElementsByTagName('text_fgstyle_weight');			  		s.text_fgstyle_weight = parseInt( tfw[0].firstChild.nodeValue );			var tfo = xml.documentElement.getElementsByTagName('text_fgstyle_opacity');			  		s.text_fgstyle_opacity = tfo[0].firstChild.nodeValue;			var tfi = xml.documentElement.getElementsByTagName('text_fgstyle_zindex');			  		s.text_fgstyle_zindex = parseInt( tfi[0].firstChild.nodeValue );			var tbc = xml.documentElement.getElementsByTagName('text_bgstyle_color');			  		s.text_bgstyle_color = tbc[0].firstChild.nodeValue;			var tbw = xml.documentElement.getElementsByTagName('text_bgstyle_weight');			  		s.text_bgstyle_weight = parseInt( tbw[0].firstChild.nodeValue );			var tbo = xml.documentElement.getElementsByTagName('text_bgstyle_opacity');			  		s.text_bgstyle_opacity = tbo[0].firstChild.nodeValue;			var tbi = xml.documentElement.getElementsByTagName('text_bgstyle_zindex');			  		s.text_bgstyle_zindex = parseInt( tbi[0].firstChild.nodeValue );			//for each polyline      	var a = this.Map.Polylines;    	//if the length of the array is > 0    	if (a.length > 0){      	//loop through the array    		for(n=0; n<a.length; n++){      		//if the array item is not Null        		if (a[n]!= null && a[n].polyline != null && a[n].style_id == s.style_id){						this.Map.map.removeOverlay( a[n].polyline );        		this.Map.attachPolyline(n);    			}    		}    	}			//for each polygon      	var b = this.Map.Polygons;    	//if the length of the array is > 0    	if (b.length > 0){      	//loop through the array    		for(i=0; i<b.length; i++){      		//if the array item is not Null        		if (b[i]!= null && b[i].polygon != null && b[i].style_id == s.style_id){						this.Map.map.removeOverlay( b[i].polygon );        			this.Map.attachPolygon(i);    			}    		}    	}			// update the polyline menus			this.editPolylineStyles();			this.editPolylines();	 }
meta: 1713	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1713/2eef737ce2ef3e61972dfb2479a868b6936f6ae7/Edit.js/buggy/templates/Edit.js