rem: inline_hide(name,i,inline_active[name][i]); 
add: inline_hide(name,i); 
context: function inline_show(name,active_field,row_id,submit_url,activate_next,show_submit){	// changes row content to a forms with input elements	// submit_url is an URL that should store changes from inline to DB	// name is a name of a grid	// active_field - inline control that should be set active	// row_id - guess	inline_id=active_field+"_"+row_id;	//closing all open expanders	id=name+"_"+row_id;	if(expander_open[id]){		expander_flip(name,row_id,expander_open[id]);	}	//closing all active inlines	if(inline_active[name]){		for(i=0;i<inline_active[name].length;i++){			if(inline_active[name][i])				inline_hide(name,i,inline_active[name][i]);		}	}	row=document.getElementById(id);	//counting columns	        tmp=row.parentNode.firstChild;        if(!tmp.firstChild)tmp=tmp.nextSibling;        header = tmp.firstChild;        for(cs=1;header=header.nextSibling;cs++);	//changing row contents to the forms. only for inlines...	col=row.firstChild;	var inline_collection=new Array();	var index=0;	for(i=1;col=col.nextSibling;i++){		id=new String(col.id);		if(id.indexOf('_inline')!=-1){			var form_name='form_'+id;						col.innerHTML='<form id="'+form_name+'" name="'+form_name+'" method="POST">'+				'<input id="'+form_name+'_edit" value="'+				getInlineValue(id)+'" type="text" onKeyPress="'+				'return inline_process_key(event,\''+name+'\','+row_id+','+activate_next+');"></form>';			inline_collection[index]=form_name;			index++;		}	}	if(show_submit){		//expanding a row with submits        	newrow=document.createElement("tr");	        nextrow=row.nextSibling;        	if(!nextrow){	            row.parentNode.appendChild(newrow);        	}else{	            row.parentNode.insertBefore(newrow,nextrow);        	}	        bg="#FFFFFF";                	cll = newrow.insertCell(0);		cll.align='right';        	cll.style.backgroundColor = bg;	        cll.style.borderWidth = '0 1px 1px 1px';        	cll.style.borderColor = '#000';	        cll.style.borderStyle = 'solid';        	cll.style.padding = '1px';        	        cll.colSpan = cs; 		event_handler="inline_hide('"+name+"',"+row_id+",'";		cll.innerHTML='<form id="'+form_name+'" name="'+form_name+'" method="POST">'+			'<input type="button" value="OK" onclick="'+event_handler+'update\');">'+			'<input type="button" value="Cancel" onclick="'+event_handler+'cancel\');">'+			'</form>';	}	//selecting an edit	try{		document.getElementById('form_'+inline_id+'_edit').select();	}catch(e){}	//setting an array value for further hiding	if(!inline_active[name])inline_active[name]=new Array();	inline_active[name][row_id]=new Array();	inline_active[name][row_id]['submit_url']=submit_url;	inline_active[name][row_id]['inline_collection']=inline_collection;	inline_active[name][row_id]['active_field']=active_field;	inline_active[name]['show_submit']=show_submit;}
meta: 106	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/106/0ce2b4664d45233f418ea165f2c4a7fa0500be53/amodules3.js/clean/templates/shared/amodules3.js