aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-03 12:23:24 +0530
committerIttay Stern <ittay.stern@att.com>2019-09-10 13:13:02 +0000
commit36d7a4aeb15346c8f85ed694a1d54d81c7cc50e2 (patch)
treef2c8fc584d11866935265bacf6ccd2c5632be0e2 /vid-app-common/src/main/webapp/app
parent1b4336d9c26c4febe86036900bfa7994c0fadca5 (diff)
Semicolon at the end of the Statement and Remove trailing whitespaces at the end of this line
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-606 Change-Id: Ic6daf9162504a2296a7e2cf48f08e60cabe14b21 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/controller/statusDialogController.js18
1 files changed, 8 insertions, 10 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/statusDialogController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/statusDialogController.js
index 4562a9de6..47fa26996 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/statusDialogController.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/statusDialogController.js
@@ -87,7 +87,7 @@ var statusDialogController = function(COMPONENT, FIELD, $scope, $http, $timeout,
$scope.userParameterChanged = function(id) {
StatusService.updateUserParameterList(id, $scope.userProvidedControl);
- }
+ };
/*$scope.submit = function() {
@@ -140,9 +140,7 @@ var statusDialogController = function(COMPONENT, FIELD, $scope, $http, $timeout,
$scope.isSubmitEnabled = false;
$scope.isCancelEnabled = false;
- }
-
-
+ };
$scope.handleInitialResponse = function(response) {
try {
@@ -165,7 +163,7 @@ var statusDialogController = function(COMPONENT, FIELD, $scope, $http, $timeout,
} catch (error) {
$scope.showContentError(error);
}
- }
+ };
/* $scope.setVnfProvStatus = function(vnfId, targetProvStatus) {
@@ -193,7 +191,7 @@ var statusDialogController = function(COMPONENT, FIELD, $scope, $http, $timeout,
$scope.isDialogVisible = false;
$scope.popup.isVisible = false;
runCallback(false);
- }
+ };
var runCallback = function(response) {
if (angular.isFunction(callbackFunction)) {
@@ -203,7 +201,7 @@ var statusDialogController = function(COMPONENT, FIELD, $scope, $http, $timeout,
instanceId : response.instanceId
});
}
- }
+ };
var showSuccess = function(summary, details) {
var message = summary;
@@ -213,7 +211,7 @@ var statusDialogController = function(COMPONENT, FIELD, $scope, $http, $timeout,
$scope.isSpinnerVisible = false;
$scope.isSuccessVisible = true;
$scope.success = message;
- }
+ };
var showError = function(summary, details) {
var message = summary;
@@ -223,8 +221,8 @@ var statusDialogController = function(COMPONENT, FIELD, $scope, $http, $timeout,
$scope.isSpinnerVisible = false;
$scope.isErrorVisible = true;
$scope.error = message;
- }
-}
+ };
+};
appDS2.controller("statusDialogController", [ "COMPONENT", "FIELD", "$scope", "$http", "$timeout",
"$log", "MsoService", "StatusService", "DataService", "PropertyService", "UtilityService",