closes #1688, Preferences window appears in wrong screen position on Windows
This commit is contained in:
parent
35c44b7470
commit
43c57ec18c
|
@ -2397,7 +2397,7 @@ var ZoteroPane = new function()
|
||||||
};
|
};
|
||||||
window.openDialog('chrome://zotero/content/preferences/preferences.xul',
|
window.openDialog('chrome://zotero/content/preferences/preferences.xul',
|
||||||
'zotero-prefs',
|
'zotero-prefs',
|
||||||
'chrome,titlebar,toolbar,'
|
'chrome,titlebar,toolbar,centerscreen,'
|
||||||
+ Zotero.Prefs.get('browser.preferences.instantApply', true) ? 'dialog=no' : 'modal',
|
+ Zotero.Prefs.get('browser.preferences.instantApply', true) ? 'dialog=no' : 'modal',
|
||||||
io
|
io
|
||||||
);
|
);
|
||||||
|
|
|
@ -40,7 +40,7 @@ To add a new preference:
|
||||||
in Zotero.Prefs.observe()
|
in Zotero.Prefs.observe()
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<prefwindow id="zotero-prefs" title="&zotero.preferences.title;" onload="moveToAlertPosition(); init()" onunload="Zotero_Preferences.onUnload()"
|
<prefwindow id="zotero-prefs" title="&zotero.preferences.title;" onload="init()" onunload="Zotero_Preferences.onUnload()"
|
||||||
windowtype="zotero:pref" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
windowtype="zotero:pref" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
style="min-height: 600px">
|
style="min-height: 600px">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user