From: KIRAN KASHALKAR Date: Wed, 18 Jan 2017 02:16:23 +0000 (-0500) Subject: RIFT-15270: Drop downs not working for config-parameter-refs X-Git-Tag: v1.1.0~19 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=f6a2fb0a36a48ee04dca9cfdd5138631679bb258;p=osm%2FUI.git RIFT-15270: Drop downs not working for config-parameter-refs Signed-off-by: KIRAN KASHALKAR --- diff --git a/skyquake/plugins/composer/src/src/libraries/utils.js b/skyquake/plugins/composer/src/src/libraries/utils.js index a182b1a90..1d54a6f5b 100644 --- a/skyquake/plugins/composer/src/src/libraries/utils.js +++ b/skyquake/plugins/composer/src/src/libraries/utils.js @@ -290,7 +290,7 @@ export default { for (let subKey in catalogs[key]) { let found = _.find(catalogs[key][subKey], {id: fieldKeyArray[0]}); if (found) { - results = this.getResults(found, pathArray.splice(-i, i)); + results = this.getAbsoluteResults(found, pathArray.splice(-i, i)); return results; } } @@ -303,7 +303,7 @@ export default { for (let foundKey in found) { let topLevel = _.find(found[foundKey], {id: fieldKeyArray[1]}); if (topLevel) { - results = this.getResults(topLevel, pathArray.splice(-i, i)); + results = this.getAbsoluteResults(topLevel, pathArray.splice(-i, i)); return results; } }