From ef2a5d377d015d405fd11a1caa690f0d80b3124a Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 1 Apr 2013 19:14:52 +0000 Subject: [PATCH] Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors --- etemplate/inc/class.etemplate.inc.php | 30 +++++++++------- notifications/inc/hook_after_navbar.inc.php | 2 +- phpgwapi/inc/class.egw_framework.inc.php | 38 ++++++++++++++++----- phpgwapi/inc/class.html.inc.php | 2 +- 4 files changed, 49 insertions(+), 23 deletions(-) diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 976e327907..0aa18330ed 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -180,13 +180,16 @@ class etemplate_new extends etemplate_widget_template echo '
'; } @@ -195,11 +198,14 @@ class etemplate_new extends etemplate_widget_template echo '
'; } diff --git a/notifications/inc/hook_after_navbar.inc.php b/notifications/inc/hook_after_navbar.inc.php index 9044c4be87..7d65e9d9c1 100644 --- a/notifications/inc/hook_after_navbar.inc.php +++ b/notifications/inc/hook_after_navbar.inc.php @@ -19,7 +19,7 @@ if ($GLOBALS['egw_info']['user']['apps']['notifications']) $popup_poll_interval = empty($notification_config['popup_poll_interval']) ? 60 : $notification_config['popup_poll_interval']; echo ''; - echo ''; + echo ''; echo '