Skip to content
Snippets Groups Projects
Commit 30739bc5 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1063338][Hinterlegen Standardprozess...

[Projekt: Entwicklung - Neon][TicketNr.: 1063338][Hinterlegen Standardprozess am RecordContainer im cacheKeyProzess]
parent dd0c4ae7
No related branches found
No related tags found
No related merge requests found
import("system.vars");
import("Util_lib");
/**
* provides field-preset-constants for cached data records
......@@ -58,7 +59,6 @@ CachedRecordContainerFieldPresets.STANDARD_WITH_LOCALE = function(){
//there is no locale-variable for the server, so let's just store THAT it's the locale of the serverprocess
res.unshift("_____serverlocale");
}
res = res.concat(CachedRecordContainerFieldPresets.STANDARD());
return res;
};
......@@ -124,7 +124,7 @@ CachedRecordContainerUtils.getCommonKey = function(pExtendedVariable1, pExtended
*/
CachedRecordContainerUtils.getKeyWithPreset = function(pPreset, pExtendedVariable1, pExtendedVariableN) {
var varsToCheck;
if (typeof (pPreset) == "function")
if (Utils.isFunction(pPreset))
varsToCheck = pPreset.call();
else if (Array.isArray(pPreset))
varsToCheck = pPreset;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment