Make Add Citation window, Edit Bibliography window, and Related Items window resizable (only the Related Items window on Windows)
This commit is contained in:
parent
63059cc028
commit
299a5de480
|
@ -37,8 +37,8 @@
|
|||
ondialogcancel="Zotero_Citation_Dialog.cancel();"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
style="padding: 0"
|
||||
persist="screenX screenY">
|
||||
style="padding: 0 5px"
|
||||
persist="screenX screenY width height">
|
||||
|
||||
<script src="include.js"/>
|
||||
<script src="selectItemsDialog.js"/>
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
var io = {dataIn: null, dataOut: null};
|
||||
|
||||
window.openDialog('chrome://zotero/content/selectItemsDialog.xul', '',
|
||||
'chrome,dialog=no,modal,centerscreen', io);
|
||||
'chrome,dialog=no,modal,centerscreen,resizable=yes', io);
|
||||
|
||||
if(io.dataOut && this.item)
|
||||
{
|
||||
|
|
|
@ -37,8 +37,8 @@
|
|||
buttons="accept"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
style="padding: 0"
|
||||
persist="screenX screenY">
|
||||
style="padding: 0 5px 15px"
|
||||
persist="screenX screenY width height">
|
||||
|
||||
<script src="include.js"/>
|
||||
<script src="selectItemsDialog.js"/>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
onunload="doUnload();"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
style="padding:2em"
|
||||
persist="screenX screenY">
|
||||
persist="screenX screenY width height">
|
||||
|
||||
<script src="include.js"/>
|
||||
<script src="selectItemsDialog.js"/>
|
||||
|
|
|
@ -856,7 +856,7 @@ Zotero.Integration.Session.prototype.editCitation = function(index, citation) {
|
|||
Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||
.getService(Components.interfaces.nsIWindowWatcher)
|
||||
.openWindow(null, 'chrome://zotero/content/addCitationDialog.xul', '',
|
||||
'chrome,modal,centerscreen' + (Zotero.isWin ? ',popup' : ''), io);
|
||||
'chrome,modal,centerscreen,resizable=yes' + (Zotero.isWin ? ',popup' : ''), io);
|
||||
|
||||
if(citation && !io.citation.citationItems.length) {
|
||||
io.citation = citation;
|
||||
|
@ -1016,7 +1016,7 @@ Zotero.Integration.Session.prototype.editBibliography = function() {
|
|||
Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
|
||||
.getService(Components.interfaces.nsIWindowWatcher)
|
||||
.openWindow(null, 'chrome://zotero/content/editBibliographyDialog.xul', '',
|
||||
'chrome,modal,centerscreen' + (Zotero.isWin ? ',popup' : ''), io, true);
|
||||
'chrome,modal,centerscreen,resizable=yes' + (Zotero.isWin ? ',popup' : ''), io, true);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user