mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-05 00:54:12 +01:00
Customers portal : Added GetAbsoluteAppRoot() JS function to portal.
SVN:trunk[4214]
This commit is contained in:
@@ -301,6 +301,10 @@
|
||||
|
||||
{% block pPageLiveScripts %}
|
||||
<script type="text/javascript">
|
||||
var GetAbsoluteUrlAppRoot = function()
|
||||
{
|
||||
return '{{ app['combodo.absolute_url'] }}';
|
||||
};
|
||||
var addParameterToUrl = function(sUrl, sParamName, sParamValue)
|
||||
{
|
||||
sUrl += (sUrl.split('?')[1] ? '&':'?') + sParamName + '=' + sParamValue;
|
||||
|
||||
Reference in New Issue
Block a user