Fixed showWindow(modalWindow, "center") doesn't show modal window in the center of screen.
This commit is contained in:
parent
c0559b8e18
commit
0a0f56134e
|
@ -160,6 +160,8 @@ public abstract class AbstractDesktop extends AbstractUIPart implements IDesktop
|
|||
|
||||
if (Window.MODE_MODAL.equals(mode))
|
||||
{
|
||||
if (pos != null)
|
||||
win.setPosition(pos);
|
||||
showModal(win);
|
||||
}
|
||||
else if (Window.MODE_POPUP.equals(mode))
|
||||
|
|
Loading…
Reference in New Issue