Refresh view/edit instance after Add VF Module fails 39/100139/2
authorIttay Stern <ittay.stern@att.com>
Thu, 9 Jan 2020 16:43:41 +0000 (18:43 +0200)
committerIttay Stern <ittay.stern@att.com>
Sun, 12 Jan 2020 07:39:58 +0000 (07:39 +0000)
Issue-ID: VID-479

Change-Id: I059d0333a70aac6a676f4fc26a219d6a9d0316d5
Signed-off-by: Ittay Stern <ittay.stern@att.com>
vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
vid-app-common/src/main/webapp/app/vid/scripts/controller/creationDialogController.js

index 673d2f6..f2301f5 100755 (executable)
@@ -1497,6 +1497,7 @@ Private metthods
                     $scope.reloadRoute();\r
                 } else {\r
                     color = FIELD.ID.COLOR_F88;\r
+                    $scope.reloadRoute();\r
                 }\r
                 $scope.callbackStyle = {\r
                     "background-color": color\r
index 002bcb9..f686394 100755 (executable)
@@ -376,6 +376,7 @@ var creationDialogController = function (COMPONENT, FIELD, PARAMETER, $scope, $h
                     } else {
                         $scope.isDialogVisible = false;
                         $scope.popup.isVisible = false;
+                        runCallback(response);
                     }
                 }
             });