mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-05 18:47:15 +02:00
Add disclaimer to the Ahoy
This commit is contained in:
parent
f2a794d518
commit
86b3137b6a
6 changed files with 36 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
|||
<legend class="des">Device Host Name</legend>
|
||||
<label for="device">Device Name</label>
|
||||
<input type="text" name="device" class="text"/>
|
||||
<input type="hidden" name="disclaimer" value="false" id="disclaimer">
|
||||
</fieldset>
|
||||
|
||||
<button type="button" class="s_collapsible">WiFi</button>
|
||||
|
@ -325,6 +326,9 @@
|
|||
parseSerial(root["serial"]);
|
||||
}
|
||||
}
|
||||
|
||||
hiddenInput = document.getElementById("disclaimer")
|
||||
hiddenInput.value = sessionStorage.getItem("gDisclaimer");
|
||||
|
||||
getAjax("/api/setup", parse);
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue