Commit | Line | Data |
---|---|---|
6a488035 TO |
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> |