mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
(firmware) stop complaining for reboot on pkg upgrade
This commit is contained in:
parent
a9c3e042d2
commit
4c618a4fa5
@ -53,7 +53,12 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
if (data['status'] == "ok") {
|
||||
$.upgrade_action = data['status_upgrade_action'];
|
||||
$.upgrade_needs_reboot = data['upgrade_needs_reboot'];
|
||||
if (data['status_upgrade_action'] != 'pkg') {
|
||||
$.upgrade_needs_reboot = data['upgrade_needs_reboot'];
|
||||
} else {
|
||||
$.upgrade_needs_reboot = 0 ;
|
||||
}
|
||||
|
||||
// unhide upgrade button
|
||||
$("#upgrade").attr("style","");
|
||||
// show upgrade list
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user