147653 - page setup commands doesn't work in mail and composer. r/sr=sspitzer,jag
git-svn-id: svn://10.0.0.236/trunk@211339 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e335c1a2da
commit
45f2d36c55
@ -1486,7 +1486,7 @@ function hiddenWindowStartup()
|
||||
window.focus();
|
||||
|
||||
// Disable menus which are not appropriate
|
||||
var disabledItems = ['cmd_close', 'Browser:SendPage', 'Browser:EditPage', 'Browser:PrintSetup', /*'Browser:PrintPreview',*/
|
||||
var disabledItems = ['cmd_close', 'Browser:SendPage', 'Browser:EditPage', 'cmd_printSetup', /*'Browser:PrintPreview',*/
|
||||
'Browser:Print', 'canGoBack', 'canGoForward', 'Browser:Home', 'Browser:AddBookmark', 'cmd_undo',
|
||||
'cmd_redo', 'cmd_cut', 'cmd_copy','cmd_paste', 'cmd_delete', 'cmd_selectAll', 'menu_textZoom'];
|
||||
for (var id in disabledItems) {
|
||||
|
||||
@ -121,7 +121,7 @@
|
||||
<command id="Browser:SavePage" oncommand="saveDocument(window._content.document);"/>
|
||||
<command id="Browser:EditPage" oncommand="editPageOrFrame();" observes="isImage"/>
|
||||
<command id="Browser:Open" oncommand="BrowserOpenWindow();"/>
|
||||
<command id="Browser:PrintSetup" oncommand="NSPrintSetup();"/>
|
||||
<command id="cmd_printSetup" oncommand="NSPrintSetup();"/>
|
||||
<command id="Browser:Print" oncommand="NSPrint();"/>
|
||||
<command id="Browser:PrintPreview" oncommand="BrowserPrintPreview();"/>
|
||||
<command id="cmd_quit"/>
|
||||
@ -215,7 +215,7 @@
|
||||
<menuseparator id="saveMenuBlockEnd"/>
|
||||
<menuitem label="&editPageCmd.label;" accesskey="&editPageCmd.accesskey;" key="key_editPage" command="Browser:EditPage" />
|
||||
<menuseparator/>
|
||||
<menuitem id="printSetupMenuItem" label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" command="Browser:PrintSetup"/>
|
||||
<menuitem id="printSetupMenuItem" label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" command="cmd_printSetup"/>
|
||||
<menuitem id="printPreviewMenuItem" label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" command="Browser:PrintPreview"/>
|
||||
<menuitem id="printMenuItem" label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>
|
||||
<menuseparator/>
|
||||
|
||||
@ -139,7 +139,7 @@
|
||||
label="&editPageCmd.label;" accesskey="&editPageCmd.accesskey;"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>
|
||||
<menuitem id="printSetupMenuItem" label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" command="Browser:PrintSetup"/>
|
||||
<menuitem id="printSetupMenuItem" label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" command="cmd_printSetup"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user