From: anushadasari Date: Wed, 28 Aug 2019 07:02:14 +0000 (+0530) Subject: Add a semicolon at the end of this statement. X-Git-Tag: 5.0.3~64^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=64f07b08e71fd4948f08e946dea6b42d86d4a291;p=vid.git Add a semicolon at the end of this statement. In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-597 Change-Id: I9a80b3c9fd3102f508a33581f57499dba33b51fd Signed-off-by: anushadasari --- diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js index 9abcb42e6..15717130a 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js @@ -61,12 +61,12 @@ var detailsDialogController = function($scope, $http, $timeout, $log, $scope.log = MsoService.getFormattedCommonResponse(response); MsoService.showResponseContentError(error, showError); } - } + }; $scope.close = function() { $scope.isDialogVisible = false; $scope.popup.isVisible = false; - } + }; var showError = function(summary, details) { var message = summary; @@ -76,8 +76,8 @@ var detailsDialogController = function($scope, $http, $timeout, $log, $scope.isSpinnerVisible = false; $scope.isErrorVisible = true; $scope.error = message; - } -} + }; +}; appDS2.controller("detailsDialogController", [ "$scope", "$http", "$timeout", "$log", "MsoService", "DetailsService", "UtilityService", "COMPONENT", "FIELD",