rem: var sLnk = document.createElement('a'); sLnk.setAttribute('href','#all'); sLnk.setAttribute('onClick','loadAll()'); sLnk.appendChild(document.createTextNode('display all')); document.getElementById('statustext').appendChild(document.createTextNode(' ')); document.getElementById('statustext').appendChild(sLnk); 
add: loadAll(); var sLnk = document.createElement('a'); /*     sLnk.setAttribute('href','#all'); */ /*     sLnk.setAttribute('onClick','loadAll()'); */ sLnk.appendChild(document.createTextNode('[currently showing all]')); document.getElementById('statustext').appendChild(document.createTextNode(' ')); document.getElementById('statustext').appendChild(sLnk); 
context: function addAllLink() {  if (ticketObj.length < 150) {    var sLnk = document.createElement('a');    sLnk.setAttribute('href','#all');    sLnk.setAttribute('onClick','loadAll()');    sLnk.appendChild(document.createTextNode('display all'));    document.getElementById('statustext').appendChild(document.createTextNode(' '));    document.getElementById('statustext').appendChild(sLnk);  }}
meta: 891	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/891/d81801bea5a832c839d00f7eb346766a61b5d1ee/stet-intense-shorter.js/buggy/stet-intense-shorter.js