Add a semicolon at the end of this statement. 04/94404/2
authoranushadasari <danush10@in.ibm.com>
Wed, 28 Aug 2019 07:02:14 +0000 (12:32 +0530)
committerIttay Stern <ittay.stern@att.com>
Thu, 29 Aug 2019 11:59:35 +0000 (11:59 +0000)
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 <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js

index 9abcb42..1571713 100755 (executable)
@@ -61,12 +61,12 @@ var detailsDialogController = function($scope, $http, $timeout, $log,
            $scope.log = MsoService.getFormattedCommonResponse(response);\r
            MsoService.showResponseContentError(error, showError);\r
        }\r
-    }\r
+    };\r
 \r
     $scope.close = function() {\r
        $scope.isDialogVisible = false;\r
        $scope.popup.isVisible = false;\r
-    }\r
+    };\r
 \r
     var showError = function(summary, details) {\r
        var message = summary;\r
@@ -76,8 +76,8 @@ var detailsDialogController = function($scope, $http, $timeout, $log,
        $scope.isSpinnerVisible = false;\r
        $scope.isErrorVisible = true;\r
        $scope.error = message;\r
-    }\r
-}\r
+    };\r
+};\r
 \r
 appDS2.controller("detailsDialogController", [ "$scope", "$http", "$timeout",\r
        "$log", "MsoService", "DetailsService", "UtilityService", "COMPONENT", "FIELD",\r