summaryrefslogtreecommitdiffstats
path: root/htdocs/binding.js
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/binding.js')
-rw-r--r--htdocs/binding.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/htdocs/binding.js b/htdocs/binding.js
index 9de9608..2930ec6 100644
--- a/htdocs/binding.js
+++ b/htdocs/binding.js
@@ -247,15 +247,15 @@ function showNavigationEventCHooserDialod() {
const subscribeBtn = document.getElementById('navigation-subscribe-btn');
subscribeBtn.addEventListener('click', (evt) => {
- const setDestination = document.getElementById('set_destination').checked;
- const cancelNavigation = document.getElementById('cancel_navigation').checked;
+ const setDestination = document.getElementById('setDestination').checked;
+ const cancelNavigation = document.getElementById('cancelNavigation').checked;
const query = {"actions":[]};
if (setDestination)
- query.actions.push('set_destination');
+ query.actions.push('setDestination');
if (cancelNavigation)
- query.actions.push('cancel_navigation');
+ query.actions.push('cancelNavigation');
callbinder(afbVshlCapabilities.url, 'vshl-capabilities', 'navigation/subscribe', query);
modal.close();
@@ -273,4 +273,4 @@ function triggerButtonPressedAction(button) {
}
}
callbinder(afbVshlCapabilities.url, 'vshl-capabilities', 'playbackcontroller/publish', paramsJson);
-} \ No newline at end of file
+}