mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fix: broken context usage when no context (neither org nor menu) at all
SVN:trunk[1381]
This commit is contained in:
@@ -398,8 +398,9 @@ EOF
|
||||
{
|
||||
return sURL+'?'+sContext;
|
||||
}
|
||||
return sURL+'&'+sContext;
|
||||
}
|
||||
return sURL+'&'+sContext;
|
||||
return sURL;
|
||||
}
|
||||
|
||||
var oUserPreferences = $sUserPrefs;
|
||||
|
||||
@@ -158,8 +158,7 @@ EOF
|
||||
{
|
||||
return '$sAbsURLAppRoot';
|
||||
}
|
||||
|
||||
|
||||
|
||||
function AddAppContext(sURL)
|
||||
{
|
||||
var sContext = '$sAppContext';
|
||||
@@ -168,11 +167,12 @@ EOF
|
||||
if (sURL.indexOf('?') == -1)
|
||||
{
|
||||
return sURL+'?'+sContext;
|
||||
}
|
||||
}
|
||||
return sURL+'&'+sContext;
|
||||
}
|
||||
return sURL+'&'+sContext;
|
||||
return sURL;
|
||||
}
|
||||
|
||||
|
||||
function GoBack(sFormId)
|
||||
{
|
||||
var form = $('#'+sFormId);
|
||||
|
||||
Reference in New Issue
Block a user