From 09e5ff42a2994650584b87ced8a1549e816408f7 Mon Sep 17 00:00:00 2001 From: rb7147 Date: Wed, 11 Oct 2017 10:53:17 -0400 Subject: Added Policy GUI Cosmetic Fixes Fixed the Refresh cache issue. Fixed the Popup modal css issue. Fixed the cosmetic issues. Issue-Id: POLICY-310 Change-Id: Ib41713a6f9a6573667d7b4ae6836e411dc32c854 Signed-off-by: rb7147 --- .../Editor/PolicyTemplateController/FirewallPolicyController.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/FirewallPolicyController.js') diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/FirewallPolicyController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/FirewallPolicyController.js index 5988ef302..1051ecd9a 100644 --- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/FirewallPolicyController.js +++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/policy-models/Editor/PolicyTemplateController/FirewallPolicyController.js @@ -24,6 +24,13 @@ angular.module('abs').controller('fwPolicyController', ['$scope', '$window', 'Po $scope.savebutton = true; $scope.refreshCheck = false; + if(!$scope.temp.policy.editPolicy && !$scope.temp.policy.readOnly){ + $scope.temp.policy = { + policyType : "Config", + configPolicyType : "Firewall Config" + } + }; + $scope.refresh = function(){ if($scope.refreshCheck){ $scope.policyNavigator.refresh(); -- cgit 1.2.3-korg