rem:  set_row_c=function(response_text, response_xml){  cols=response_text.split('\n'); id=name+'_'+row_id; row=document.getElementById(id); col=row.firstChild; i=0; while(col){ if(col.innerHTML!=undefined){ col.innerHTML=cols[i]; i++;}  col=col.nextSibling;  } try { if(typeof(callback) != 'undefined') eval(callback); } catch(e) {  } } aarq(url, set_row_c); 
add: reloadGridRow(url,name,row_id); 
context: function inline_hide(name, row_id, action, callback){	//name is a grid name, id is a row id	//processing inline: submit or cancel	//callback - callback function with params	submit_url=inline_active[name][row_id]['submit_url']+'&row_id='+row_id;	inline_collection=inline_active[name][row_id]['inline_collection'];	if(action){		url=submit_url+'&action='+action;	}else{		url=submit_url+'&action=update';	}	reload_row=false;	if(inline_collection){		url_params="";		for(i=0;i<inline_collection.length;i++){			field_name=new String(inline_collection[i]);			field_name=field_name.substring(name.length+6, field_name.indexOf('_inline'));			form=document.getElementById(inline_collection[i]);			if(form){				url_params+='&'+'field_'+field_name+'='+form.elements[0].value;				//if form was not found - probably we moved to another page by some ajax action				//but, may be, it is a browser incompatibility...				reload_row=true;			}		}		url=url+url_params;	}	if(reload_row){		//row contents could not be replaced with aasn		set_row_c=function(response_text, response_xml){			//exploding string to an array of column values			cols=response_text.split('\n');			id=name+'_'+row_id;			row=document.getElementById(id);			col=row.firstChild;			i=0;			while(col){				if(col.innerHTML!=undefined){				col.innerHTML=cols[i];				i++;}				//else i--;				col=col.nextSibling;				//i++;			}			try {				if(typeof(callback) != 'undefined') eval(callback);			} catch(e) {							}		}		aarq(url, set_row_c);		//aasn(name+'_'+row_id, url);		if(inline_active[name]['show_submit']){			//hiding buttons			row=document.getElementById(name+'_'+row_id);		        nextrow=row.nextSibling;        		row.parentNode.removeChild(nextrow);		}	}	inline_active[name][row_id]=false;}
meta: 106	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/106/440fc218764409ee66bc247cd5707c584ab68d0f/amodules3.js/clean/templates/shared/amodules3.js