Bug 653423 - Undo option is grayed out although action is applicable in Scratchpad; r=rcampbell,gavin.sharp approval-mozilla-aurora=gavin.sharp
authorTeddy Ni <tn233@cornell.edu>
Wed, 03 Aug 2011 16:47:06 -0300
changeset 72742 e259c21107fb4a40407e5493ab836c283794104b
parent 72741 e0a5feb39665574b3343201f1aba3a3023d5b48e
child 72743 eb83ff4f4175eec64260f54eb3b78522279b1aef
push id281
push userrcampbell@mozilla.com
push dateWed, 03 Aug 2011 19:47:32 +0000
treeherdermozilla-aurora@e259c21107fb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrcampbell, gavin.sharp
bugs653423
milestone7.0a2
Bug 653423 - Undo option is grayed out although action is applicable in Scratchpad; r=rcampbell,gavin.sharp approval-mozilla-aurora=gavin.sharp
browser/base/content/scratchpad.xul
--- a/browser/base/content/scratchpad.xul
+++ b/browser/base/content/scratchpad.xul
@@ -181,22 +181,22 @@
                 accesskey="&closeCmd.accesskey;"
                 command="sp-cmd-close"/>
     </menupopup>
   </menu>
 
   <menu id="sp-edit-menu" label="&editMenu.label;"
         accesskey="&editMenu.accesskey;">
     <menupopup id="sp-menu_editpopup">
-      <menuitem id="sp-menu_undo"
+      <menuitem id="sp-menu-undo"
                 label="&undoCmd.label;"
                 key="key_undo"
                 accesskey="&undoCmd.accesskey;"
                 disabled="true"
-                oncommand="cmd_undo"/>
+                command="cmd_undo"/>
       <menuitem id="sp-menu-redo"
                 label="&redoCmd.label;"
                 key="key_redo"
                 disabled="true"
                 accesskey="&redoCmd.accesskey;"
                 command="cmd_redo"/>
       <menuseparator/>
       <menuitem id="sp-menu-cut"