From 3387e0b442f4111d43707df92c3f37d1ef390c73 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 28 Aug 2019 12:26:19 +0530 Subject: 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: If9e0bba384cd1345e4674e5e06085ba8feb78e39 Signed-off-by: anushadasari --- .../scripts/controller/change-management.controller.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'vid-app-common/src/main/webapp/app') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/change-management.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/change-management.controller.js index 10a3e67eb..d58bf492b 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/change-management.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/change-management.controller.js @@ -38,18 +38,18 @@ var fuseMsoAndSchedulerTaks = function() { if (vm.changeManagements && vm.pendingChangeManagements) { - var requestIdToVnfName = {} + var requestIdToVnfName = {}; vm.pendingChangeManagements.forEach(function(schedulerItem) { if (schedulerItem.msoRequestId && schedulerItem.vnfName) { requestIdToVnfName[schedulerItem.msoRequestId] = schedulerItem.vnfName; } - }) + }); $log.debug("requestIdToVnfName", requestIdToVnfName); vm.changeManagements = vm.changeManagements.map(function(msoItem) { msoItem['vnfNameFromScheduler'] = requestIdToVnfName[msoItem.requestId]; return msoItem; - }) + }); } }; @@ -109,7 +109,7 @@ }; vm.searchChanges = function() { - console.log("function for searching changes: " + vm.searchChangesTerm) + console.log("function for searching changes: " + vm.searchChangesTerm); }; @@ -141,19 +141,19 @@ vm.openFailedModal = function($event, jobInfo) { vm.openManualTasksPopup($event, jobInfo, 'app/vid/scripts/modals/failed-change-management/failed-change-management.html', - "This is the result of the failed change management modal.") + "This is the result of the failed change management modal."); }; vm.openInProgressModal = function($event, jobInfo) { vm.openManualTasksPopup($event, jobInfo, 'app/vid/scripts/modals/in-progress-modal-management/in-progress-change-management.html', - "This is the result of the in progress change management modal.") + "This is the result of the in progress change management modal."); }; vm.openAlertModal = function($event, jobInfo) { vm.openManualTasksPopup($event, jobInfo, 'app/vid/scripts/modals/alert-change-management/alert-change-management.html', - "This is the result of the alert change management modal.") + "This is the result of the alert change management modal."); }; vm.openBasicAlertModal = function(jobInfo) { @@ -231,7 +231,7 @@ vm.currModal.close(); vm.currModal = null; } - } + }; vm.init(); -- cgit 1.2.3-korg