summaryrefslogtreecommitdiffstats
path: root/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller
diff options
context:
space:
mode:
authorrb7147 <rb7147@att.com>2017-08-29 14:38:54 -0400
committerrb7147 <rb7147@att.com>2017-08-30 08:27:28 -0400
commit7de5161cb47abb01256272addeda32ad1c1cfaf5 (patch)
treef2250f25a7c419058491a0af99ecf47d701f80d7 /POLICY-SDK-APP/src/main/webapp/app/policyApp/controller
parented3acdbb2d22e819218eea730932950d69d985fe (diff)
Sonar Issue fixes for js
Resolved POLICY-SDK-APP js blockers and critical issues Issue-Id: POLICY-184 Change-Id: I2ec99b4d48fcc2f833c6fd6140fed6d926c3fd9e Signed-off-by: rb7147 <rb7147@att.com>
Diffstat (limited to 'POLICY-SDK-APP/src/main/webapp/app/policyApp/controller')
-rw-r--r--POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js28
-rw-r--r--POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/FWPrefixListDictController.js2
2 files changed, 15 insertions, 15 deletions
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js
index 7d352115e..8771ee918 100644
--- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js
+++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dashboardController.js
@@ -74,17 +74,17 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer
console.log("failed");
});
- $scope.availableGridHealthDatas = {
- data : 'systemAlertsTableDatas',
- enableFiltering: true,
- columnDefs: [{ field: 'id'},
- { field: 'type'},
- { field: 'system'},
- {field: 'logtype'},
- {field : 'date' ,type: 'date', cellFilter: 'date:\'yyyy-MM-dd\'' },
- {field : 'description'}
- ],
- };
+ $scope.availableGridHealthDatas = {
+ data : 'systemAlertsTableDatas',
+ enableFiltering: true,
+ columnDefs: [{ field: 'id'},
+ { field: 'type'},
+ { field: 'system'},
+ {field: 'logtype'},
+ {field : 'date' ,type: 'date', cellFilter: 'date:\'yyyy-MM-dd\'' },
+ {field : 'description'}
+ ]
+ };
$scope.papStatusDatas = {
data : 'papTableDatas',
@@ -93,7 +93,7 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer
{ field: 'status'},
{ field: 'noOfPolicy'},
{field: 'noOfConnectedTrap'}
- ],
+ ]
};
$scope.pdpStatusDatas = {
@@ -107,7 +107,7 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer
{field : 'permitCount'},
{field : 'denyCount'},
{field : 'naCount'}
- ],
+ ]
};
$scope.policyActivityDatas = {
@@ -116,6 +116,6 @@ app.controller('policyDashboardHealthController', function ($scope, PolicyAppSer
columnDefs: [{ field: 'policyId'},
{ field: 'fireCount'},
{ field: 'system'}
- ],
+ ]
};
}); \ No newline at end of file
diff --git a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/FWPrefixListDictController.js b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/FWPrefixListDictController.js
index d880ac6b4..1925e5f48 100644
--- a/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/FWPrefixListDictController.js
+++ b/POLICY-SDK-APP/src/main/webapp/app/policyApp/controller/dictionaryController/FWPrefixListDictController.js
@@ -17,7 +17,7 @@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
-app.controller('editFWPrefixListController' , function ($scope, $modalInstance, message, Notification, UserInfoServiceDS2, Notification){
+app.controller('editFWPrefixListController' , function ($scope, $modalInstance, message, Notification, UserInfoServiceDS2){
$scope.validate = 'false';
if(message.prefixListDictionaryData==null)
$scope.label='Add PrefixList'