mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01:00
Do not trigger window resize for mobile devices as they are getting opened fullscreen anyway
This commit is contained in:
parent
387d5053dd
commit
715bcbd92d
@ -275,7 +275,7 @@
|
|||||||
$j('form.et2_container[data-etemplate]').each(function(index, node){
|
$j('form.et2_container[data-etemplate]').each(function(index, node){
|
||||||
var data = JSON.parse(node.getAttribute('data-etemplate')) || {};
|
var data = JSON.parse(node.getAttribute('data-etemplate')) || {};
|
||||||
var currentapp = data.data.currentapp || window.egw_appName;
|
var currentapp = data.data.currentapp || window.egw_appName;
|
||||||
if(popup || window.opener)
|
if(popup || window.opener && !egwIsMobile())
|
||||||
{
|
{
|
||||||
// Resize popup when et2 load is done
|
// Resize popup when et2 load is done
|
||||||
jQuery(node).on('load', function() {
|
jQuery(node).on('load', function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user