Skip to content

Commit 2816c63

Browse files
nachtgeistmaxauthority
authored andcommitted
replace openDialog by openURL for connectionprefs dialog (#760)
fixes #628
1 parent 5f329c4 commit 2816c63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

muttator/content/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var Config = Module("config", ConfigBase, {
7575
["console", "JavaScript console",
7676
function () { window.toJavaScriptConsole(); }],
7777
["connectionprefs", "Show connection settings",
78-
function () { window.openDialog("chrome://messenger/content/preferences/connection.xul", "Connection Settings", "dialog,centerscreen,width=487,height=402"); }],
78+
function () { window.openURL("chrome://browser/content/preferences/connection.xul"); }],
7979
/*["customizetoolbar", "Customize the Toolbar",
8080
function () { BrowserCustomizeToolbar(); }],*/
8181
["dominspector", "DOM Inspector",

vimperator/content/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var Config = Module("config", ConfigBase, {
5757
["cookies", "List your cookies",
5858
function () { window.toOpenWindowByType("Browser:Cookies", "chrome://browser/content/preferences/cookies.xul", "chrome,dialog=no,resizable"); }],
5959
["connectionprefs", "Show connection settings",
60-
function () { window.openDialog("chrome://browser/content/preferences/connection.xul", "Connection Settings", "dialog,centerscreen,width=488,height=535"); }],
60+
function () { window.openURL("chrome://browser/content/preferences/connection.xul"); }],
6161
["customizetoolbar", "Customize the Toolbar",
6262
function () { window.BrowserCustomizeToolbar(); }],
6363
["dominspector", "DOM Inspector",

0 commit comments

Comments
 (0)