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

todo notes added

parent 49fb776d
No related branches found
No related tags found
No related merge requests found
......@@ -813,7 +813,7 @@ function Importer(pConfig)
var xmlArr = [];
//get every row-element
for each(xmlItem in xmlData.data.row)
for each(xmlItem in xmlData.data.row) // TODO: replace "for each (.. in ..)" with for (.. of ..) when the designer supports it (the server already supports it). As it's deprecated in js https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/for_each...in
{
xmlArr = [];
......
......@@ -596,7 +596,7 @@ function arrDiff (arr1, arr2) {
// checks input array if each element is a valid input, returns true if valid, otherwise false
function checkInput(pInputArr) {
for each (var input in pInputArr) {
for each (var input in pInputArr) { // TODO: replace "for each (.. in ..)" with for (.. of ..) when the designer supports it (the server already supports it). As it's deprecated in js https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/for_each...in
if (input == undefined || input == null || input == "")
return false;
}
......
......@@ -23,7 +23,7 @@ var entitiesUsePermFlagSet = []; // array, which contains ids of entities with u
var roleInternalEveryone = "INTERNAL_EVERYONE";
// gets all names of the entites which have the 'usePermission'-flag set (positive list)
for each (let entityMetaData in entitiesMetaData) {
for each (let entityMetaData in entitiesMetaData) { // TODO: replace "for each (.. in ..)" with for (.. of ..) when the designer supports it (the server already supports it). As it's deprecated in js https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/for_each...in
if (entityMetaData[6] == "true") {
entitiesUsePermFlagSet.push(entityMetaData[0])
if (PermissionUtil.getNumberOfPermissions(entityMetaData[0]) == 0) {
......
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