diff options
author | anushadasari <danush10@in.ibm.com> | 2019-08-28 12:26:19 +0530 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-08-29 11:59:40 +0000 |
commit | 3387e0b442f4111d43707df92c3f37d1ef390c73 (patch) | |
tree | 3b5f4837ba703973f0b5a9227afc98386b8ff93d /vid-app-common/src/main/webapp | |
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: If9e0bba384cd1345e4674e5e06085ba8feb78e39
Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src/main/webapp')
-rw-r--r-- | vid-app-common/src/main/webapp/app/vid/scripts/controller/change-management.controller.js | 16 |
1 files changed, 8 insertions, 8 deletions
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(); |