mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Implement mobile framework popup resize
This commit is contained in:
parent
fc66bfec63
commit
e8056c388b
@ -247,7 +247,15 @@
|
|||||||
}
|
}
|
||||||
if(delta_width != 0 || delta_height != 0)
|
if(delta_width != 0 || delta_height != 0)
|
||||||
{
|
{
|
||||||
window.resizeTo(egw_getWindowOuterWidth() - delta_width+8, egw_getWindowOuterHeight() - delta_height+10);
|
|
||||||
|
if (window.framework && typeof window.framework.resize_popup != 'undefined')
|
||||||
|
{
|
||||||
|
window.framework.resize_popup($et2.outerWidth(true), $et2.outerHeight(true), window);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
window.resizeTo(egw_getWindowOuterWidth() - delta_width+8, egw_getWindowOuterHeight() - delta_height+10);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// trigger a 2. resize, as one is not enough, if window is zoomed
|
// trigger a 2. resize, as one is not enough, if window is zoomed
|
||||||
if (delta_width && ++resize_attempt < 2)
|
if (delta_width && ++resize_attempt < 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user