Fixed bad link to firmware upload

This commit is contained in:
Magnus Persson 2022-04-09 09:05:28 +02:00
parent 3db3968e07
commit aeda821396
2 changed files with 10 additions and 2 deletions

View File

@ -442,10 +442,14 @@
<div class="form-group row">
<div class="col-sm-8 offset-sm-2">
<button type="submit" class="btn btn-primary" id="hardware-btn">Save</button>
<button class="btn btn-info" id="firmware-btn">Upload firmware</button>
</div>
</div>
</form>
<div class="form-group row">
<div class="col-sm-8 offset-sm-2">
<button class="btn btn-info" id="firmware-btn">Upload firmware</button>
</div>
</div>
</div>
</div>
</div>
@ -530,6 +534,10 @@ function checkHeader(input) {
} );
});
$("#firmware-btn").click(function(e){
window.location.href = "/firmware.htm";
});
// Open the format editor
$("#format-btn").click(function(e){
window.location.href = "/format.htm";

File diff suppressed because one or more lines are too long