From 64f07b08e71fd4948f08e946dea6b42d86d4a291 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 28 Aug 2019 12:32:14 +0530 Subject: 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 --- .../webapp/app/vid/scripts/controller/detailsDialogController.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vid-app-common/src/main') 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", -- cgit 1.2.3-korg