fix window resizing

This commit is contained in:
Simon Kornblith 2011-02-07 05:30:28 +00:00
parent 7046f894ff
commit c8ce422b95

View file

@ -1133,7 +1133,7 @@ Zotero.Integration.Session.prototype._displayDialog = function(url, options, io)
if(this.doc) this.doc.cleanup();
var window = Components.classes["@mozilla.org/embedcomp/window-watcher;1"]
.getService(Components.interfaces.nsIWindowWatcher)
.openWindow(null, url, '', 'chrome,centerscreen'+(options ? options : ""), (io ? io : null));
.openWindow(null, url, '', 'chrome,centerscreen'+(options ? ','+options : ""), (io ? io : null));
while(!window.closed) Zotero.mainThread.processNextEvent(true);
}