rem: this.enableCommand(command, controller.isCommandEnabled(command)); 
add: var controller = this._getControllerForCommand(command); if (controller) enabled = controller.isCommandEnabled(command); 
context:   updateCommand: function(command) {    var controller = this._getControllerForCommand(command);    if (!controller)      return;    try {      this.enableCommand(command, controller.isCommandEnabled(command));    }    catch (e) {    }  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/61d7d6c7d75bd471174fd6cb172820081f1722a6/globalOverlay.js/clean/toolkit/content/globalOverlay.js