document.getElementById('form_'+pathName).style.display="none"; document.getElementById('name_'+pathName).innerHTML="<i>saving...</i>"; document.getElementById('name_'+pathName).style.display="block"; var newDescription = document.getElementById('newName_'+pathName).value; AjaxServices.changeViewPathDescription(pathString, newDescription, function(str){ document.getElementById('name_'+pathName).innerHTML=newDescription; }); 
document.getElementById('form_'+pathName).style.display = "none"; document.getElementById('name_'+pathName+'_inner').innerHTML = "<i>saving...</i>"; document.getElementById('name_'+pathName).style.display = "block"; var newDescription = document.getElementById('newName_' + pathName).value; var callBack = function(str){ if (str == null) { str = '(no description)'; } document.getElementById('name_' + pathName + '_inner').innerHTML = str; } AjaxServices.changeViewPathDescription(pathString, newDescription, callBack); 
function changeViewPathDescription(pathName){    var pathString = pathName.replace(/\_/g,".");    document.getElementById('form_'+pathName).style.display="none";    document.getElementById('name_'+pathName).innerHTML="<i>saving...</i>";    document.getElementById('name_'+pathName).style.display="block";    var newDescription = document.getElementById('newName_'+pathName).value;    AjaxServices.changeViewPathDescription(pathString, newDescription,                                           function(str){                                               document.getElementById('name_'+pathName).innerHTML=newDescription;                                           });}
5150	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5150/73ccbeb482252d8d7ba77c444f8b5124a9d49e83/imdwr.js/buggy/intermine/webapp/main/resources/webapp/js/imdwr.js