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>
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 4562a9d..47fa269 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 @@
$scope.userParameterChanged = function(id) {
StatusService.updateUserParameterList(id, $scope.userProvidedControl);
- }
+ };
/*$scope.submit = function() {
@@ -140,9 +140,7 @@
$scope.isSubmitEnabled = false;
$scope.isCancelEnabled = false;
- }
-
-
+ };
$scope.handleInitialResponse = function(response) {
try {
@@ -165,7 +163,7 @@
} catch (error) {
$scope.showContentError(error);
}
- }
+ };
/* $scope.setVnfProvStatus = function(vnfId, targetProvStatus) {
@@ -193,7 +191,7 @@
$scope.isDialogVisible = false;
$scope.popup.isVisible = false;
runCallback(false);
- }
+ };
var runCallback = function(response) {
if (angular.isFunction(callbackFunction)) {
@@ -203,7 +201,7 @@
instanceId : response.instanceId
});
}
- }
+ };
var showSuccess = function(summary, details) {
var message = summary;
@@ -213,7 +211,7 @@
$scope.isSpinnerVisible = false;
$scope.isSuccessVisible = true;
$scope.success = message;
- }
+ };
var showError = function(summary, details) {
var message = summary;
@@ -223,8 +221,8 @@
$scope.isSpinnerVisible = false;
$scope.isErrorVisible = true;
$scope.error = message;
- }
-}
+ };
+};
appDS2.controller("statusDialogController", [ "COMPONENT", "FIELD", "$scope", "$http", "$timeout",
"$log", "MsoService", "StatusService", "DataService", "PropertyService", "UtilityService",