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:42:44 -0300
changeset 73832 11c3b74e18e7ced94dd60a506fddbda65632d6ae
parent 73831 522205a03a72c9b61f17c9c44659fb6b94b37f99
child 73833 5c7fc05dc9e35c1f388ea956e79c4f04b75d0499
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersrcampbell, gavin
bugs653423
milestone8.0a1
Bug 653423 - Undo option is grayed out although action is applicable in Scratchpad; r=rcampbell,gavin.sharp approval-mozilla-aurora=gavin.sharp
browser/devtools/scratchpad/scratchpad.xul
--- a/browser/devtools/scratchpad/scratchpad.xul
+++ b/browser/devtools/scratchpad/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"