From efdd96d0a9f1d02983e72558af325713c4e97068 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 9 May 2013 10:29:53 +0000 Subject: [PATCH] fixed not working CalDAV/eSync log viewer, LAB.wait missing --- phpgwapi/inc/class.egw_tail.inc.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/phpgwapi/inc/class.egw_tail.inc.php b/phpgwapi/inc/class.egw_tail.inc.php index 89a6b0924a..7fd538729d 100644 --- a/phpgwapi/inc/class.egw_tail.inc.php +++ b/phpgwapi/inc/class.egw_tail.inc.php @@ -206,12 +206,14 @@ function resize_'.$id.'() { $j("#'.$id.'").width(egw_getWindowInnerWidth()-20).height(egw_getWindowInnerHeight()-33); } -$j(document).ready(function() -{ - resize_'.$id.'(); - refresh_'.$id.'(); +egw.LAB.wait(function() { + $j(document).ready(function() + { + resize_'.$id.'(); + refresh_'.$id.'(); + }); + $j(window).resize(resize_'.$id.'); }); -$j(window).resize(resize_'.$id.');

'.htmlspecialchars($header).'