content: {  caserun_id: cid, index: idx, status_id: sid, update_bug: upbug, action: 'update_status'}, load:    function(type, data, evt){ fillrow(data, idx); var fields = data.split("|"); var status = fields[0]; var closed = fields[1]; var tested = fields[2]; 
content: {  caserun_id: cid, index: idx, status_id: sid, update_bug: upbug, note: stNotes, action: 'update_status'}, load:    function(type, data, evt){ fillrow(data, idx); var fields = data.split("|~+"); dojo.widget.manager.getWidgetById('percent_bar').setContent(fields[0]); dojo.widget.manager.getWidgetById('head_caserun_'+idx).setContent(fields[1]); document.getElementById('body_caserun_'+idx).innerHTML = fields[2];  
function chStat(idx, sid, cid, osid){    if (osid == sid)	    return;    displayMsg('pp'+idx, 3, MSG_WAIT.blink());	disableAllButtons(true);	var upbug = dojo.byId('up_bugs' + idx).checked == true ? 1 : 0;	dojo.io.bind({		url:     "tr_show_caserun.cgi",		content: {  caserun_id: cid, index: idx, status_id: sid, update_bug: upbug, action: 'update_status'},		load:    function(type, data, evt){ fillrow(data, idx);					var fields = data.split("|");					var status = fields[0];					var closed = fields[1];					var tested = fields[2];					try{						var deps = fields[3];						ids = deps.split(",");						for (var i=0; i<ids.length; i++){							if (status == 'FAILED')								document.getElementById('xs'+ids[i]).src="testopia/img/BLOCKED_small.gif";							else								document.getElementById('xs'+ids[i]).src="testopia/img/IDLE_small.gif";						}					}					catch (e){}					document.getElementById('xs'+cid).src="testopia/img/"+status+"_small.gif";					document.getElementById('tdb'+idx).innerHTML = tested;					document.getElementById('cld'+idx).innerHTML = closed;		            displayMsg('pp'+ idx, 1, MSG_TESTLOG_UPDATED);		            setTimeout("clearMsg('pp"+ idx +"')",OK_TIMEOUT);		            disableAllButtons(false);                    getNote(idx,cid);		         },		error:   function(type, error){ alert(error.message);},		mimetype: "text/plain"	});}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/e7f8fae7e90c143e0b40020aa9fc3ea582dae6fb/caserun.js/clean/webtools/testopia/testopia/js/caserun.js