rem: currentMapId=parseInt(answerST[1]); currentMapBackGround=answerST[2]; currentMapAccess=answerST[3]; currentMapName=answerST[4]; currentMapOwner=answerST[5]; currentMapUserlast=answerST[6]; currentMapCreatetime=answerST[7]; currentMapLastmodtime=answerST[8]; 
add: currentMapId=parseInt(answerST[0]); currentMapBackGround=answerST[1]; currentMapAccess=answerST[2]; currentMapName=answerST[3]; currentMapOwner=answerST[4]; currentMapUserlast=answerST[5]; currentMapCreatetime=answerST[6]; currentMapLastmodtime=answerST[7]; 
context: function handleSaveResponse(data) {	if(data.success) {		var str=data.content;		if(testResponse(SAVEMAP_ACTION, str)){			str=str.substring(SAVEMAP_ACTION.length+2,str.length);		}else{						alert('Saving Map has failed ');				clearDownInfo();			enableMenu();			return;			}				var answerST = str.split("+");		//alert(answerST[0]+" "+answerST[1]+" "+answerST[2]+" "+answerST[3]+" "+answerST[4]+" "+answerST[5]+" "+answerST[6]+" "+answerST[7]+" "+answerST[8]);		var packet = answerST[9];		var totalPackets = answerST[10];		//alert("handleSaveResponse: packet="+packet+" totalPackets="+totalPackets);		if(packet==totalPackets){			currentMapId=parseInt(answerST[1]);			currentMapBackGround=answerST[2];			currentMapAccess=answerST[3];			currentMapName=answerST[4];			currentMapOwner=answerST[5];			currentMapUserlast=answerST[6];			currentMapCreatetime=answerST[7];			currentMapLastmodtime=answerST[8];					LoadMaps();			clearMapInfo();			viewMapInfo();			savedMapString = getMapString();						clearDownInfo();			var childNode = menuSvgDocument.getElementById("DownInfoText");			if (childNode)				menuSvgDocument.getElementById("DownInfo").removeChild(childNode);						menuSvgDocument.getElementById("DownInfo").appendChild(parseXML("<text id=\"DownInfoText\" x=\"5\" y=\"20\">Map '" +currentMapName+"' saved."+			"</text>",menuSvgDocument));			enableMenu();						//save the map in the map history			saveMapInHistory();		}else{			saveMap2(packet, totalPackets); 		}			} else {		alert('Saving Map has failed');		clearDownInfo();		enableMenu();		return;	}		}
meta: 2281	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2281/b01879fa4f5f20645bbddd43643f54c94882541e/ApplicationMap.js/clean/opennms-webapp/src/main/webapp/map/ApplicationMap.js