diff options
author | anushadasari <danush10@in.ibm.com> | 2019-08-28 12:32:14 +0530 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-08-29 11:59:35 +0000 |
commit | 64f07b08e71fd4948f08e946dea6b42d86d4a291 (patch) | |
tree | 94f3799ddbd650e1f19d2d358a9371e11baeece5 | |
parent | a4aae1860d3aa324dbfa54c639aa7da39c18745c (diff) |
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 <danush10@in.ibm.com>
-rwxr-xr-x | vid-app-common/src/main/webapp/app/vid/scripts/controller/detailsDialogController.js | 8 |
1 files changed, 4 insertions, 4 deletions
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",
|