rem: document.getElementById("removeAllNopreviews").setAttribute("disabled","true"); 
add: element.setAttribute("disabled","true"); } else { element.removeAttribute("disabled"); 
context: function LoadNopreview() {  var list = signonviewer.getNopreviewValue();  var count = 0;  if (list.length > 0) {    var delim = list[0];    list = list.split(delim);  }  for (var i = 1; i < list.length; i++) {    var host = TrimString(list[i]);    nopreviews[count] = new Nopreview(count++, host);  }  nopreviewsTreeView.rowCount = nopreviews.length;  // sort and display the table  nopreviewsTree.treeBoxObject.view = nopreviewsTreeView;  NopreviewColumnSort('host');  if (nopreviews.length == 0) {    document.getElementById("removeAllNopreviews").setAttribute("disabled","true");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/90d7e23c6a7f4dadbfe8d1a8a4f18cfa82cc9cc8/SignonViewer.js/clean/extensions/wallet/signonviewer/SignonViewer.js