From 5bcf29400ba1786f24942b0fd73332279fd0eb9c Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 10 Jun 2010 08:38:02 +0000 Subject: [PATCH] setting webserver_url for new json handler, if used with templates other then jdots --- phpgwapi/inc/class.egw_framework.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index 6366bc0db5..1a399641f8 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -699,6 +699,10 @@ abstract class egw_framework $java_script .= "\n"; } + // set webserver_url for json + $java_script .= "\n"; + /* this flag is for all javascript code that has to be put before other jscode. Think of conf vars etc... (pim@lingewoud.nl) */ if (isset($GLOBALS['egw_info']['flags']['java_script_thirst']))