fix bug 46464, split signon viewer into two separate viewers, r=ben

This commit is contained in:
morse%netscape.com 2006-07-29 05:34:05 +00:00
Родитель 4f15fe7007
Коммит e63e2a3169
3 изменённых файлов: 7 добавлений и 1 удалений

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

@ -376,7 +376,7 @@ function WalletDialog( which )
{
switch( which ) {
case "signon":
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul","SSViewer","modal=yes,chrome,resizable=no");
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul","SSViewer","modal=yes,chrome,resizable=no","S");
break;
case "cookie":
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","CookieViewer","modal=yes,chrome,resizable=no",0);
@ -391,6 +391,9 @@ function WalletDialog( which )
case "interview":
window._content.location.href = 'chrome://communicator/content/wallet/interview.html';
break;
case "walletsites":
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul","SSViewer","modal=yes,chrome,resizable=no","W");
break;
case "wallet":
default:
window.openDialog("chrome://communicator/content/wallet/WalletEditor.xul","walletEditor","modal=yes,chrome,resizable=no");

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

@ -67,6 +67,7 @@
<menu value="&walletFormManager.label;" accesskey="&walletFormManager.accesskey;" id="wallet">
<menupopup>
<menuitem value="&walletContentsCmd.label;" accesskey="&walletContentsCmd.accesskey;" id="walleteditor" oncommand="WalletDialog('wallet');"/>
<menuitem value="&walletSitesCmd.label;" accesskey="&walletSitesCmd.accesskey;" id="walletsites" oncommand="WalletDialog('walletsites');"/>
<menuitem value="&walletSafeFillCmd.label;" accesskey="&walletSafeFillCmd.accesskey;" id="walletSafeFill" oncommand="WalletAction('safefill');"/>
<menuitem value="&walletQuickFillCmd.label;" accesskey="&walletQuickFillCmd.accesskey;" id="walletQuickFill" oncommand="WalletAction('quickfill');" style="display:none;"/>
<menuitem value="&walletRequestToCaptureCmd.label;" accesskey="&walletRequestToCaptureCmd.accesskey;" id="walletCapture" oncommand="WalletAction('capture');"/>

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

@ -41,6 +41,8 @@
<!-- LOCALIZATION NOTE (walletContentsCmd.label): Do NOT translate "Wallet"-->
<!ENTITY walletContentsCmd.label "View Captured Form Data">
<!ENTITY walletContentsCmd.accesskey "v">
<!ENTITY walletSitesCmd.label "View Sites">
<!ENTITY walletSitesCmd.accesskey "s">
<!ENTITY walletDisplaySignonsCmd.label "View Stored Passwords">
<!ENTITY walletDisplaySignonsCmd.accesskey "v">
<!ENTITY walletDisplayCookiesCmd.label "View Stored Cookies">