rem:   document.getElementById('cmd_savePage').setAttribute('disabled', 'true');    
context: function onLoadViewPartialSource(){  // check the view_source.wrap_long_lines pref and set the menuitem's checked attribute accordingly  if (gPrefs) {    try {      var wraplonglinesPrefValue = gPrefs.getBoolPref('view_source.wrap_long_lines');      if (wraplonglinesPrefValue) {        document.getElementById('menu_wrapLongLines').setAttribute('checked', 'true');        gWrapLongLines = true;      }    } catch (e) { }    try {      document.getElementById("menu_highlightSyntax").setAttribute("checked", gPrefs.getBoolPref("view_source.syntax_highlight"));    } catch (e) {    }  } else {    document.getElementById("menu_highlightSyntax").setAttribute("hidden", "true");  }    initFindBar();  // disable menu items that don't work since the selection is munged and  // the editor doesn't work for MathML  document.getElementById('cmd_savePage').setAttribute('disabled', 'true');  // we don't support external editors  //document.getElementById('cmd_editPage').setAttribute('disabled', 'true');  if (window.arguments[3] == 'selection')    viewPartialSourceForSelection(window.arguments[2]);  else    viewPartialSourceForFragment(window.arguments[2], window.arguments[3]);  window._content.focus();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/48b20f11b36b4e610ab95ecb3f3efedf183c0f72/viewPartialSource.js/buggy/toolkit/components/viewsource/content/viewPartialSource.js