rem: newanchor.setAttribute('href', (mList[i].resourceName)); 
add: newanchor.setAttribute('href', (resUrl + mList[i].resourceType + urlColon + mList[i].resourceId)); 
context: function showProblemResponse(originalRequest) {	var response = eval("(" + originalRequest.responseText + ")");	var mList = response.problems;	var table = document.getElementById('problemResourcesTable');		for(var i=table.childNodes.length-1; i>2; i--){        table.removeChild(table.childNodes[i]);    }	for(i=0;i < mList.length; i++) {		var tr  = document.createElement('tr');	var td1 = document.createElement('td');    var td2 = document.createElement('td');    var td3 = document.createElement('td');    var td4 = document.createElement('td');    var newanchor = document.createElement("a");	    		table.appendChild(tr);			if(i%2==0) {		tr.setAttribute((document.all ? 'className' : 'class'), "tableRowOdd");		} else {		tr.setAttribute((document.all ? 'className' : 'class'), "tableRowEven");		}						tr.appendChild(td1);		td1.setAttribute((document.all ? 'className' : 'class'), "resource");		td1.setAttribute("id", (mList[i].resource));				if (mList[i].resourceName) {		td1.appendChild(newanchor);		newanchor.appendChild(document.createTextNode(mList[i].resourceName));		newanchor.setAttribute('href', (mList[i].resourceName));		}				tr.appendChild(td2);		td2.setAttribute((document.all ? 'className' : 'class'), "availability");				if (mList[i].availability) {			switch(mList[i].availability) {				case "green":					td2.innerHTML = "<img src=images/icon_available_green.gif>";				break;				case "red":					td2.innerHTML = "<img src=images/icon_available_red.gif>";				break;				case "yellow":				td2.innerHTML = "<img src=images/icon_available_yellow.gif>";				break;				case "orange":				td2.innerHTML = "<img src=images/icon_available_orange.gif>";				break;				case "green":				td2.innerHTML = "<img src=images/icon_available_green.gif>";				default:				td2.innerHTML = "<img src=images/icon_available_error.gif>";			}		}				tr.appendChild(td3);		td3.setAttribute((document.all ? 'className' : 'class'), "alerts");				if (mList[i].alerts) {		td3.appendChild(document.createTextNode(mList[i].alerts));		}				tr.appendChild(td4);		td4.setAttribute((document.all ? 'className' : 'class'), "oob");				if (mList[i].oob) {		td4.appendChild(document.createTextNode(mList[i].oob));		} 			}			rTimer = setTimeout('requestProblemResources();',60000); //Refresh in 60 seconds	}
meta: 6359	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6359/f5d748b1d4ac12cc1f3e76117805d514be5c026e/requests.js/buggy/web/js/requests.js