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

fix address validation

parent af690ea1
No related branches found
No related tags found
No related merge requests found
......@@ -13,13 +13,12 @@ if (vars.exists("$param.Country_param") && vars.get("$param.Country_param"))
// get the value typed by the user
var filter = "";
var localFilter = vars.getString("$local.filter");
var localFilter = vars.get("$local.filter");
if(localFilter.filter != null) {
filter = localFilter.filter.childs[0].value;
}
if (!filter && vars.exists("$param.CurrentValue_param") && vars.get("$param.CurrentValue_param"))
filter = vars.get("$param.CurrentValue_param");
......
......@@ -131,7 +131,7 @@ WsValidationType.get = function(pKey)
var defaultResult = [[{}, pValue]];
defaultResult[0][0][this.paramName] = pValue;
resultAddresses = resultAddresses.concat(defaultResult);
return resultAddresses.map(function(pAddress, pIndex)
{
pAddress[0].index = pIndex;
......
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