From: anushadasari Date: Thu, 5 Sep 2019 16:12:19 +0000 (+0530) Subject: Add Semicolon at the end X-Git-Tag: 5.0.3~19^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F64%2F95064%2F1;p=vid.git Add Semicolon at the end 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-607 Change-Id: I53b2e7a540b88b3e04d9169670d1fc6b4a32c6e8 Signed-off-by: anushadasari --- diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js index 15c57f756..bcac579f3 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js @@ -31,11 +31,11 @@ vm.content = jobInfo.message; vm.mode = jobInfo.status; if (vm.mode == "failed") { - vm.Header = "Failed" + vm.Header = "Failed"; } else if (vm.mode == "confirm") { - vm.Header = "Confirm" + vm.Header = "Confirm"; } else { - vm.Header = "Success" + vm.Header = "Success"; } } };