From 91104ebe466c03c5b33f0eb78c3db34f3d06789b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 19 Apr 2024 07:44:12 -0400 Subject: [PATCH] Center saved-search dialog --- chrome/content/zotero/zoteroPane.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 52a8a91490..aaa55a75da 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -1574,7 +1574,7 @@ var ZoteroPane = new function() ); var io = { dataIn: { search: s, name }, dataOut: null }; - window.openDialog('chrome://zotero/content/searchDialog.xhtml','','chrome,modal',io); + window.openDialog('chrome://zotero/content/searchDialog.xhtml','','chrome,modal,centerscreen',io); if (!io.dataOut) { return false; } @@ -2496,7 +2496,7 @@ var ZoteroPane = new function() }, dataOut: null }; - window.openDialog('chrome://zotero/content/searchDialog.xhtml','','chrome,modal',io); + window.openDialog('chrome://zotero/content/searchDialog.xhtml','','chrome,modal,centerscreen',io); if (io.dataOut) { row.ref.fromJSON(io.dataOut.json); yield row.ref.saveTx();