[Tickets #11812] Re: compose windows position
bugs at horde.org
bugs at horde.org
Tue Dec 4 10:35:31 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11812
------------------------------------------------------------------------------
Ticket | 11812
Updated By | viktor at szepe.net
Summary | compose windows position
Queue | Horde Base
Version | 5.0.2
Type | Enhancement
State | Rejected
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
viktor at szepe.net (2012-12-04 10:35) wrote:
> You can edit the position locally to whatever you want.
patch for centering the popup window:
js/popup.js:56
var left = (screen.width - width)/2;
var top = (screen.height - height)/2;
win = window.open(url + '?' + params.toQueryString(),
opts.name || uniq, 'menubar=' + menu +
',toolbar=no,location=no,status=yes,scrollbars=yes,resizable=yes,width=' +
width + ',height=' + height + ',left='+left+',top='+top);
More information about the bugs
mailing list