aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSébastien Determe <sd378r@intl.att.com>2017-09-07 08:55:53 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-07 08:55:53 +0000
commitde048cf739ec08e52251404d2818a8bb9b941d79 (patch)
tree6a3b39df09ebc551300afba0987377444e3c6db0
parent351aa6fa0742a4ab9f5659e29015c0d31d7aa189 (diff)
parentfb2ab1cf7f6465f177575878ee6c9fb90d5441a9 (diff)
Merge "Error in JS logs when click in the background"
-rw-r--r--src/main/resources/META-INF/resources/designer/scripts/CldsModelService.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/resources/designer/scripts/CldsModelService.js b/src/main/resources/META-INF/resources/designer/scripts/CldsModelService.js
index 12d2d05d..8bc6e320 100644
--- a/src/main/resources/META-INF/resources/designer/scripts/CldsModelService.js
+++ b/src/main/resources/META-INF/resources/designer/scripts/CldsModelService.js
@@ -25,6 +25,10 @@ app.service('cldsModelService', ['alertService','$http', '$q', function (alertSe
function checkIfElementType(name){
//This will open the methods located in the app.js
+ if (undefined == name) {
+ return
+ }
+
mapping = {
'stringmatch': StringMatchWindow,
'tca': TCAWindow,