mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
setting webserver_url for new json handler, if used with templates other then jdots
This commit is contained in:
parent
c8e1730eb4
commit
5bcf29400b
@ -699,6 +699,10 @@ abstract class egw_framework
|
||||
$java_script .= "<script type=\"text/javascript\">\nvar enable_ie_dropdownmenuhack=1;\n</script>\n";
|
||||
}
|
||||
|
||||
// set webserver_url for json
|
||||
$java_script .= "<script type=\"text/javascript\">\nwindow.egw_webserverUrl = '".
|
||||
$GLOBALS['egw_info']['server']['webserver_url']."';\n</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']))
|
||||
|
Loading…
Reference in New Issue
Block a user