LSP: added rolling update message

This commit is contained in:
cat 2016-06-13 10:24:44 +02:00 committed by Thulinma
parent 0b5e18db40
commit 9fdb550735
2 changed files with 4 additions and 3 deletions

View file

@ -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});
}