Fix: broken context usage when no context (neither org nor menu) at all

SVN:trunk[1381]
This commit is contained in:
Denis Flaven
2011-07-28 15:12:16 +00:00
parent c7e27a836a
commit d50f812694
2 changed files with 7 additions and 6 deletions

View File

@@ -398,8 +398,9 @@ EOF
{
return sURL+'?'+sContext;
}
return sURL+'&'+sContext;
}
return sURL+'&'+sContext;
return sURL;
}
var oUserPreferences = $sUserPrefs;

View File

@@ -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);