LSP: added rolling update message
This commit is contained in:
parent
0b5e18db40
commit
9fdb550735
2 changed files with 4 additions and 3 deletions
|
@ -1974,8 +1974,9 @@ var UI = {
|
|||
$versioncheck.addClass('red').text('Version outdated!').append(
|
||||
$('<button>').text('Update').css({'font-size':'1em','margin-left':'1em'}).click(function(){
|
||||
if (confirm('Are you sure you want to execute a rolling update?')) {
|
||||
$versioncheck.addClass('orange').removeClass('red').text('Rolling update command sent..');
|
||||
mist.stored.del('update');
|
||||
mist.send(function(d){
|
||||
mist.stored.del('update');
|
||||
UI.navto('Overview');
|
||||
},{autoupdate: true});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue