diff --git a/suite/browser/navigator.js b/suite/browser/navigator.js index 08f578b2c746..c71e9be82ef0 100644 --- a/suite/browser/navigator.js +++ b/suite/browser/navigator.js @@ -872,7 +872,7 @@ function OpenSearch(tabName, searchStr) function WalletEditor() { - window.open("chrome://wallet/content/WalletEditor.xul","walletEditor","modal,chrome,height=504,width=436"); + window.openDialog("chrome://wallet/content/WalletEditor.xul","walletEditor","modal,chrome,height=504,width=436"); } @@ -924,12 +924,12 @@ function OpenSearch(tabName, searchStr) function SignonViewer() { - window.open("chrome://wallet/content/SignonViewer.xul","SSViewer","modal,chrome,height=504,width=436"); + window.openDialog("chrome://wallet/content/SignonViewer.xul","SSViewer","modal,chrome,height=504,width=436"); } function CookieViewer() { - window.open("chrome://wallet/content/CookieViewer.xul","CookieViewer","modal,chrome,height=504,width=436"); + window.openDialog("chrome://wallet/content/CookieViewer.xul","CookieViewer","modal,chrome,height=504,width=436"); } function OpenMessenger() diff --git a/xpfe/browser/resources/content/navigator.js b/xpfe/browser/resources/content/navigator.js index 08f578b2c746..c71e9be82ef0 100644 --- a/xpfe/browser/resources/content/navigator.js +++ b/xpfe/browser/resources/content/navigator.js @@ -872,7 +872,7 @@ function OpenSearch(tabName, searchStr) function WalletEditor() { - window.open("chrome://wallet/content/WalletEditor.xul","walletEditor","modal,chrome,height=504,width=436"); + window.openDialog("chrome://wallet/content/WalletEditor.xul","walletEditor","modal,chrome,height=504,width=436"); } @@ -924,12 +924,12 @@ function OpenSearch(tabName, searchStr) function SignonViewer() { - window.open("chrome://wallet/content/SignonViewer.xul","SSViewer","modal,chrome,height=504,width=436"); + window.openDialog("chrome://wallet/content/SignonViewer.xul","SSViewer","modal,chrome,height=504,width=436"); } function CookieViewer() { - window.open("chrome://wallet/content/CookieViewer.xul","CookieViewer","modal,chrome,height=504,width=436"); + window.openDialog("chrome://wallet/content/CookieViewer.xul","CookieViewer","modal,chrome,height=504,width=436"); } function OpenMessenger()