From: Michael M Slusarz Date: Thu, 29 Jul 2010 16:22:46 +0000 (-0600) Subject: More places to add ajaxui to URL X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=41e0501f8d7fbf067a1f1358116892e42227482a;p=horde.git More places to add ajaxui to URL --- diff --git a/imp/templates/dimp/javascript_defs_dimp.php b/imp/templates/dimp/javascript_defs_dimp.php index f0412413d..9319ad8ba 100644 --- a/imp/templates/dimp/javascript_defs_dimp.php +++ b/imp/templates/dimp/javascript_defs_dimp.php @@ -11,7 +11,7 @@ $app_urls = $code = $flags = array(); foreach (IMP_Dimp::menuList() as $app) { - $app_urls[$app] = (string) Horde::url($GLOBALS['registry']->getInitialPage($app), true); + $app_urls[$app] = strval(Horde::url($GLOBALS['registry']->getInitialPage($app), true)->add('ajaxui', 1)); } include IMP_BASE . '/config/portal.php'; @@ -19,7 +19,7 @@ foreach ($dimp_block_list as $block) { if ($block['ob'] instanceof Horde_Block) { $app = $block['ob']->getApp(); if (empty($app_urls[$app])) { - $app_urls[$app] = (string) Horde::url($GLOBALS['registry']->getInitialPage($app), true); + $app_urls[$app] = strval(Horde::url($GLOBALS['registry']->getInitialPage($app), true)->add('ajaxui', 1)); } } }