aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-09-05 21:42:19 +0530
committeranushadasari <danush10@in.ibm.com>2019-09-05 21:42:32 +0530
commit7d1312cd686dd7178d9fb9ae620aa98104e2fded (patch)
treeb4a40236f7065528919a14a5b938d905dd0a9bb7 /vid-app-common
parentedba17cca34873f1bf4c722d28c05483466d3255 (diff)
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 <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common')
-rw-r--r--vid-app-common/src/main/webapp/app/vid/scripts/modals/alert-modal/alert-modal.controller.js6
1 files changed, 3 insertions, 3 deletions
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";
}
}
};