From fb2ab1cf7f6465f177575878ee6c9fb90d5441a9 Mon Sep 17 00:00:00 2001 From: Anaël Closson Date: Tue, 5 Sep 2017 17:17:31 +0200 Subject: Error in JS logs when click in the background MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie7bf318fc35e290f9699b660c6ca2282c49087aa Issue-Id: CLAMP-27 Signed-off-by: Anaël Closson --- .../resources/META-INF/resources/designer/scripts/CldsModelService.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main') 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, -- cgit 1.2.3-korg