mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-23 19:17:01 +00:00
USB power warning when upgrading
This commit is contained in:
parent
0b2ffbfd77
commit
e6a02f34ab
@ -878,7 +878,7 @@ var fetch = function() {
|
||||
|
||||
var upgrade = function() {
|
||||
if(nextVersion) {
|
||||
if(confirm("Are you sure you want to perform upgrade to " + nextVersion.tag_name + "?")) {
|
||||
if(confirm("WARNING: Please keep USB power connected while upgrading. Are you sure you want to perform upgrade to " + nextVersion.tag_name + "?")) {
|
||||
$('#loading-indicator').show();
|
||||
window.location.href="/upgrade?version=" + nextVersion.tag_name;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user