summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-01-05 18:30:38 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2020-01-05 18:30:38 +0000
commita3be72ee4996a0b44ed97b5bbc8c803378ed951e (patch)
tree5b7712814e29c72251eb99b8097dfb2df6aa52d7 /htdocs
parent93c0d218f4e75e90300735924ca18cab4c79455d (diff)
parent9926c7fe070ce8635540f9f2fd9b3a365717bcee (diff)
Merge "Update navigation event names"icefish_8.99.5icefish/8.99.58.99.5
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/binding.js10
-rw-r--r--htdocs/index.html8
2 files changed, 9 insertions, 9 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
+}
diff --git a/htdocs/index.html b/htdocs/index.html
index f322881..eeb86ef 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -102,12 +102,12 @@
<div>
<ol>
<li>
- <input type="checkbox" id="set_destination" checked>
- <label>set_destination</label>
+ <input type="checkbox" id="setDestination" checked>
+ <label>setDestination</label>
</li>
<li>
- <input type="checkbox" id="cancel_navigation" checked>
- <label>cancel_navigation</label>
+ <input type="checkbox" id="cancelNavigation" checked>
+ <label>cancelNavigation</label>
</li>
</ol>
</div>