зеркало из https://github.com/mozilla/pjs.git
Fix bug 128554 & 128555: un-modal some cookie/image/wallet dialogs that shouldn't be modal. r=sdagley sr=ben a=asa
This commit is contained in:
Родитель
188c1b0375
Коммит
8a5b9ef03a
|
@ -23,17 +23,17 @@ var IMAGEPERMISSION = 1;
|
|||
|
||||
function viewImages() {
|
||||
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","_blank",
|
||||
"modal=yes,chrome,resizable=yes", "imageManager" );
|
||||
"chrome,resizable=yes", "imageManager" );
|
||||
}
|
||||
|
||||
function viewCookies() {
|
||||
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","_blank",
|
||||
"modal=yes,chrome,resizable=yes", "cookieManager");
|
||||
"chrome,resizable=yes", "cookieManager");
|
||||
}
|
||||
|
||||
function viewCookiesFromIcon() {
|
||||
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","_blank",
|
||||
"modal=yes,chrome,resizable=yes", "cookieManagerFromIcon");
|
||||
"chrome,resizable=yes", "cookieManagerFromIcon");
|
||||
}
|
||||
|
||||
function viewTutorial() {
|
||||
|
@ -43,5 +43,5 @@ function viewTutorial() {
|
|||
|
||||
function viewP3P() {
|
||||
window.openDialog
|
||||
("chrome://cookie/content/p3p.xul","_blank","modal=yes,chrome,resizable=no");
|
||||
("chrome://cookie/content/p3p.xul","_blank","chrome,resizable=no");
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<![CDATA[
|
||||
function viewSignons()
|
||||
{
|
||||
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul","_blank","modal=yes,chrome,resizable=yes", "S");
|
||||
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul","_blank","chrome,resizable=yes", "S");
|
||||
}
|
||||
|
||||
function changePasswords()
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
function viewWalletSites()
|
||||
{
|
||||
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul",
|
||||
"_blank","modal=yes,chrome,resizable=no", "W");
|
||||
"_blank","chrome,resizable=no", "W");
|
||||
}
|
||||
|
||||
]]>
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
window.openDialog(
|
||||
"chrome://communicator/content/wallet/WalletViewer.xul",
|
||||
"_blank",
|
||||
"chrome,titlebar,modal=yes,resizable=yes");
|
||||
"chrome,titlebar,resizable=yes");
|
||||
/* form toolbar is out
|
||||
initToolbarItems(); // need to redetermine which buttons in form toolbar to enable
|
||||
*/
|
||||
|
|
|
@ -129,14 +129,14 @@
|
|||
switch( which ) {
|
||||
case "signon":
|
||||
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul",
|
||||
"_blank","modal=yes,chrome,resizable=yes","S");
|
||||
"_blank","chrome,resizable=yes","S");
|
||||
break;
|
||||
case "samples":
|
||||
window._content.location.href = 'chrome://communicator/locale/wallet/index.html';
|
||||
break;
|
||||
case "walletsites":
|
||||
window.openDialog("chrome://communicator/content/wallet/SignonViewer.xul",
|
||||
"_blank","modal=yes,chrome,resizable=no","W");
|
||||
"_blank","chrome,resizable=no","W");
|
||||
break;
|
||||
case "wallet":
|
||||
default:
|
||||
|
|
|
@ -23,17 +23,17 @@ var IMAGEPERMISSION = 1;
|
|||
|
||||
function viewImages() {
|
||||
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","_blank",
|
||||
"modal=yes,chrome,resizable=yes", "imageManager" );
|
||||
"chrome,resizable=yes", "imageManager" );
|
||||
}
|
||||
|
||||
function viewCookies() {
|
||||
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","_blank",
|
||||
"modal=yes,chrome,resizable=yes", "cookieManager");
|
||||
"chrome,resizable=yes", "cookieManager");
|
||||
}
|
||||
|
||||
function viewCookiesFromIcon() {
|
||||
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","_blank",
|
||||
"modal=yes,chrome,resizable=yes", "cookieManagerFromIcon");
|
||||
"chrome,resizable=yes", "cookieManagerFromIcon");
|
||||
}
|
||||
|
||||
function viewTutorial() {
|
||||
|
@ -43,5 +43,5 @@ function viewTutorial() {
|
|||
|
||||
function viewP3P() {
|
||||
window.openDialog
|
||||
("chrome://cookie/content/p3p.xul","_blank","modal=yes,chrome,resizable=no");
|
||||
("chrome://cookie/content/p3p.xul","_blank","chrome,resizable=no");
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче