Merge pull request #1266 from totten/master-bb-ismodified-fix
[civicrm-core.git] / templates / CRM / common / civicrm_variables.tpl
1 {* This contains the variables that various jQuery functions need, for instance to define the ajax url to call *}
2 <script type="text/javascript">
3 civicrm = new Object;
4 civicrm.config = {ldelim}
5 relativeURL : "{$config->civiRelativeURL}",
6 frameworkBaseURL : "{$config->userFrameworkBaseURL}",
7 frameworkResourceURL: "{$config->userFrameworkResourceURL}",
8 restURL = "{crmURL p='civicrm/ajax/rest' q='json=1' h=0}"
9 {rdelim};
10 </script>