More places to add ajaxui to URL
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 29 Jul 2010 16:22:46 +0000 (10:22 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 29 Jul 2010 17:27:56 +0000 (11:27 -0600)
imp/templates/dimp/javascript_defs_dimp.php

index f041241..9319ad8 100644 (file)
@@ -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));
         }
     }
 }