add: } else if (topic == "signonSelectUser") { if (state == "suspend") { gSelectUserInUse = true; document.getElementById("removeSignon").disabled = true; document.getElementById("removeAllSignons").disabled = true; } else if (state == "resume") { gSelectUserInUse = false; var selections = GetTreeSelections(signonsTree); if (selections.length > 0) { document.getElementById("removeSignon").disabled = false; } if (signons.length > 0) { document.getElementById("removeAllSignons").disabled = false; } } else if (state == "inUse") { gSelectUserInUse = true; } 
context:   observe: function(subject, topic, state) {    if (topic == "signonChanged") {      if (state == "signons") {        signons.length = 0;        LoadSignons();      } else if (state == "rejects") {        rejects.length = 0;        LoadRejects();      } else if (state == "nocaptures") {        nocaptures.length = 0;        LoadNocapture();      } else if (state == "nopreviews") {        nopreviews.length = 0;        LoadNopreview();      }    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3f5e97a50a55ceafc2fea41b98144090702458b5/SignonViewer.js/buggy/extensions/wallet/signonviewer/SignonViewer.js