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>
\r
$scope.userParameterChanged = function(id) {\r
StatusService.updateUserParameterList(id, $scope.userProvidedControl);\r
\r
$scope.userParameterChanged = function(id) {\r
StatusService.updateUserParameterList(id, $scope.userProvidedControl);\r
\r
/*$scope.submit = function() {\r
\r
\r
/*$scope.submit = function() {\r
\r
$scope.isSubmitEnabled = false;\r
$scope.isCancelEnabled = false;\r
\r
$scope.isSubmitEnabled = false;\r
$scope.isCancelEnabled = false;\r
\r
\r
$scope.handleInitialResponse = function(response) {\r
try {\r
\r
$scope.handleInitialResponse = function(response) {\r
try {\r
} catch (error) {\r
$scope.showContentError(error);\r
}\r
} catch (error) {\r
$scope.showContentError(error);\r
}\r
\r
/* $scope.setVnfProvStatus = function(vnfId, targetProvStatus) {\r
\r
\r
/* $scope.setVnfProvStatus = function(vnfId, targetProvStatus) {\r
\r
$scope.isDialogVisible = false;\r
$scope.popup.isVisible = false;\r
runCallback(false);\r
$scope.isDialogVisible = false;\r
$scope.popup.isVisible = false;\r
runCallback(false);\r
\r
var runCallback = function(response) {\r
if (angular.isFunction(callbackFunction)) {\r
\r
var runCallback = function(response) {\r
if (angular.isFunction(callbackFunction)) {\r
instanceId : response.instanceId\r
});\r
}\r
instanceId : response.instanceId\r
});\r
}\r
\r
var showSuccess = function(summary, details) {\r
var message = summary;\r
\r
var showSuccess = function(summary, details) {\r
var message = summary;\r
$scope.isSpinnerVisible = false;\r
$scope.isSuccessVisible = true;\r
$scope.success = message;\r
$scope.isSpinnerVisible = false;\r
$scope.isSuccessVisible = true;\r
$scope.success = message;\r
\r
var showError = function(summary, details) {\r
var message = summary;\r
\r
var showError = function(summary, details) {\r
var message = summary;\r
$scope.isSpinnerVisible = false;\r
$scope.isErrorVisible = true;\r
$scope.error = message;\r
$scope.isSpinnerVisible = false;\r
$scope.isErrorVisible = true;\r
$scope.error = message;\r
\r
appDS2.controller("statusDialogController", [ "COMPONENT", "FIELD", "$scope", "$http", "$timeout",\r
"$log", "MsoService", "StatusService", "DataService", "PropertyService", "UtilityService",\r
\r
appDS2.controller("statusDialogController", [ "COMPONENT", "FIELD", "$scope", "$http", "$timeout",\r
"$log", "MsoService", "StatusService", "DataService", "PropertyService", "UtilityService",\r