Browse Source

center windows instead of aligning them with the button that opens them

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
a688d4a063
  1. 2
      htdocs/js/buttoniframewindow.js

2
htdocs/js/buttoniframewindow.js

@ -48,7 +48,7 @@ Ext.ux.ButtonIframeWindow = function( config ){
mysize = this.getSize();
winsize = this.wnd.getSize();
this.wnd.setPosition(
mypos[0] + mysize.width - winsize.width,
(window.viewsize.width - winsize.width) / 2,
mypos[1] - winsize.height
);
}

Loading…
Cancel
Save