rem: nopreviews_count = nopreviewList.length-1; 
add: if (nopreviewList) { nopreviews_count = nopreviewList.length-1; } 
context: function LoadNopreview(){  nopreviewList = signonviewer.getNopreviewValue();  if (nopreviewList.length > 0) {    var delim = nopreviewList[0];    nopreviewList = nopreviewList.split(delim);  }  for(var i = 1; i < nopreviewList.length; i++)  {    var currSignon = TrimString(nopreviewList[i]);    // TEMP HACK until morse fixes signon viewer functions    currSignon = RemoveHTMLFormatting(currSignon);    AddItem("nopreviewlist",[currSignon],"nopreview_",i-1);  }  nopreviews_count = nopreviewList.length-1;  if (nopreviews_count == 0) {    document.getElementById("removeAllNopreviews").setAttribute("disabled","true");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dbb79392abe287c8fc34e3bec8722e759af34793/SignonViewer.js/clean/extensions/wallet/signonviewer/SignonViewer.js