summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorAnaël Closson <ac2550@intl.att.com>2017-09-05 17:17:31 +0200
committerAnaël Closson <ac2550@intl.att.com>2017-09-05 17:17:31 +0200
commitfb2ab1cf7f6465f177575878ee6c9fb90d5441a9 (patch)
tree01fa234f4699f76b569d0895e0ca5617fc4080bd /src/main
parent731ce042ee17ebc4c88b3b6db48fdebf4bd147e1 (diff)
Error in JS logs when click in the background
Change-Id: Ie7bf318fc35e290f9699b660c6ca2282c49087aa Issue-Id: CLAMP-27 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
Diffstat (limited to 'src/main')
-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 12d2d05d0..8bc6e3204 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,