Center saved-search dialog
This commit is contained in:
parent
3e30ae1797
commit
91104ebe46
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue