Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that Undo/Redo commands are updated correctly, and avoid bogus command updating in plain text compose (since that caused JS errors). r=kin,jfrancis.

This commit is contained in:
sfraser%netscape.com 2007-08-22 04:53:45 +00:00
Родитель 19b0206644
Коммит 8cd64c5e6c
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -54,8 +54,9 @@
<commandset id="globalEditMenuItems"/>
<commandset id="selectEditMenuItems"/>
<commandset id="undoEditMenuItems"/>
<commandset id="clipboardEditMenuItems"/>
<commandset id="composerMenuItems"/>
<commandset id="commonEditorMenuItems"/>
<commandset id="composerEditMenuItems"/>
<commandset id="composerSaveMenuItems"/>
</commands>
@ -111,7 +112,7 @@
<button id="newButton"/>
<button id="openButton"/>
<button id="saveButton"/>
<toolbarseparator/>
<spring class="separator_small"/>
<button id="printButton"/>
<button id="findButton"/>
<button id="spellingButton"/>