aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-01-09 18:43:41 +0200
committerIttay Stern <ittay.stern@att.com>2020-01-12 07:39:58 +0000
commitcd831aaf5f5be59bcdb1adcfe441590df91a86ac (patch)
tree7504c18ca6fd2c11399f69083b276806590c559d
parent9c131c1f272c6a2058a72a51cf1af43251d34191 (diff)
Refresh view/edit instance after Add VF Module fails
Issue-ID: VID-479 Change-Id: I059d0333a70aac6a676f4fc26a219d6a9d0316d5 Signed-off-by: Ittay Stern <ittay.stern@att.com>
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js1
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/controller/creationDialogController.js1
2 files changed, 2 insertions, 0 deletions
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);
}
}
});