Skip to content
Snippets Groups Projects
Commit 3fad62e9 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

remove autopad / usages of StringUtils.pad36

parent 9807d4e6
No related branches found
No related tags found
No related merge requests found
...@@ -397,7 +397,7 @@ DataPrivacyUtils.collectAll = function(pContactId, pFilterCond) ...@@ -397,7 +397,7 @@ DataPrivacyUtils.collectAll = function(pContactId, pFilterCond)
"", // "DATE_EDIT," + // 9 "", // "DATE_EDIT," + // 9
currentUser, // "USER_NEW," + // 10 currentUser, // "USER_NEW," + // 10
"", // "USER_EDIT " // 11 "", // "USER_EDIT " // 11
KeywordUtils.getViewValue($KeywordRegistry.dsgvoType(), StringUtils.pad36(dsgvotype.key)), // 12 KeywordUtils.getViewValue($KeywordRegistry.dsgvoType(), dsgvotype.key), // 12
]) ])
} }
}); });
......
This diff is collapsed.
...@@ -122,10 +122,8 @@ TicketUtils.prototype.getTypeAttributes = function() ...@@ -122,10 +122,8 @@ TicketUtils.prototype.getTypeAttributes = function()
TicketUtils.prototype.getAvailableStatus = function() TicketUtils.prototype.getAvailableStatus = function()
{ {
states = JSON.parse(KeywordUtils.getAttributeRelation(this.type, $KeywordRegistry.ticketType(), "availableStatus", "")) states = JSON.parse(KeywordUtils.getAttributeRelation(this.type, $KeywordRegistry.ticketType(), "availableStatus", ""))
if (states == null)
return states;
return states.map(StringUtils.pad36); return states;
} }
/** /**
...@@ -135,7 +133,7 @@ TicketUtils.prototype.getAvailableStatus = function() ...@@ -135,7 +133,7 @@ TicketUtils.prototype.getAvailableStatus = function()
*/ */
TicketUtils.prototype.getDefaultStatus = function() TicketUtils.prototype.getDefaultStatus = function()
{ {
return StringUtils.pad36(KeywordUtils.getAttributeRelation(this.type, $KeywordRegistry.ticketType(), "defaultStatus", "")); return KeywordUtils.getAttributeRelation(this.type, $KeywordRegistry.ticketType(), "defaultStatus", "");
} }
/** /**
......
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