Error in JS logs when click in the background 69/10369/1
authorAnaël Closson <ac2550@intl.att.com>
Tue, 5 Sep 2017 15:17:31 +0000 (17:17 +0200)
committerAnaël Closson <ac2550@intl.att.com>
Tue, 5 Sep 2017 15:17:31 +0000 (17:17 +0200)
Change-Id: Ie7bf318fc35e290f9699b660c6ca2282c49087aa
Issue-Id: CLAMP-27
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
src/main/resources/META-INF/resources/designer/scripts/CldsModelService.js

index 12d2d05..8bc6e32 100644 (file)
@@ -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,