From cd831aaf5f5be59bcdb1adcfe441590df91a86ac Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Thu, 9 Jan 2020 18:43:41 +0200 Subject: Refresh view/edit instance after Add VF Module fails Issue-ID: VID-479 Change-Id: I059d0333a70aac6a676f4fc26a219d6a9d0316d5 Signed-off-by: Ittay Stern --- .../main/webapp/app/vid/scripts/controller/InstantiationController.js | 1 + .../main/webapp/app/vid/scripts/controller/creationDialogController.js | 1 + 2 files changed, 2 insertions(+) (limited to 'vid-app-common/src/main/webapp') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js index 673d2f6c4..f2301f582 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js @@ -1497,6 +1497,7 @@ Private metthods $scope.reloadRoute(); } else { color = FIELD.ID.COLOR_F88; + $scope.reloadRoute(); } $scope.callbackStyle = { "background-color": color diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/creationDialogController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/creationDialogController.js index 002bcb95a..f68639441 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/creationDialogController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/creationDialogController.js @@ -376,6 +376,7 @@ var creationDialogController = function (COMPONENT, FIELD, PARAMETER, $scope, $h } else { $scope.isDialogVisible = false; $scope.popup.isVisible = false; + runCallback(response); } } }); -- cgit 1.2.3-korg