context: function analizeDeleteNodeResponse(data) {	var str = '';	if(data.success) {		str = data.content;		var tmpStr=str.substring(0,DELETENODES_ACTION.length+2);		if(tmpStr==DELETENODES_ACTION+"OK"){			str=str.substring(DELETENODES_ACTION.length+2,str.length);		} else {		tmpStr=str.substring(0,DELETEMAPS_ACTION.length+2);		if(tmpStr==DELETEMAPS_ACTION+"OK"){			str=str.substring(DELETEMAPS_ACTION.length+2,str.length);			} else {	    	    alert('Deleting Element/s failed!');				loading--;				assertLoading();				return;			}		}	} else {        alert('Deleting Element/s failed!');		loading--;		assertLoading();		return;	}	var st = str.split("&");	for(var k=1;k<st.length;k++){		var nodeToken = st[k];		var nodeST = nodeToken.split("+");		var counter=0;		//Manage errors		var id;		while(counter< nodeST.length){			var tmp = nodeST[counter];							//read the information of the map (id, name, ecc.)					if(counter==0) 			{				id=tmp;			}			//alert(counter);				counter++;		}		map.deleteMapElement(id);			// reloadgrid se non esiste lo spazio allora !!!!!!! tratto	}	reloadGrid();	loading--;	assertLoading();//	savedMapString=getMapString();	enableMenu();}
meta: 2281	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2281/069d0e7b3a96289b7c94aecc6c8a14fee3498895/ApplicationMap.js/buggy/opennms-webapp/src/main/webapp/map/ApplicationMap.js