BUG 3686 - Fixed refreshing selectboxes in contract detail 90/22890/1
authorJuraj Sebin <jsebin@cisco.com>
Thu, 18 Jun 2015 14:16:29 +0000 (16:16 +0200)
committerJuraj Sebin <jsebin@cisco.com>
Thu, 18 Jun 2015 14:16:36 +0000 (16:16 +0200)
Change-Id: Ifc3d0c40a4cc81f6e219e41cab0678df02500bab
Signed-off-by: Zdenko Krnac <zkrnac@cisco.com>
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
groupbasedpolicy-ui/module/src/main/resources/gbp/gbp.controller.js

index d4cce73d348088c298499e0f3ba984931d99a025..bce117414087161048f185928916bf24e5953c60 100755 (executable)
@@ -1239,6 +1239,7 @@ define(modules, function(gbp) {
         });\r
 \r
         $scope.$on('GBP_CONTRACT_RELOAD',function(){\r
+            $scope.internalView.clause = false;\r
             $scope.init();\r
         });\r
 \r
@@ -1358,6 +1359,7 @@ define(modules, function(gbp) {
         });\r
 \r
         $scope.$on('GBP_CONTRACT_RELOAD',function(){\r
+            $scope.internalView.subject = false;\r
             $scope.init();\r
         });\r
 \r
@@ -1602,6 +1604,7 @@ define(modules, function(gbp) {
         });\r
 \r
         $scope.$on('GBP_RULE_RELOAD',function(){\r
+            $scope.internalView.actionRef = false;\r
             $scope.init();\r
         });\r
 \r
@@ -1736,6 +1739,7 @@ define(modules, function(gbp) {
         });\r
 \r
         $scope.$on('GBP_RULE_RELOAD',function(){\r
+            $scope.internalView.classifierRef = false;\r
             $scope.init();\r
         });\r
 \r