update app dialog
This commit is contained in:
parent
16f2c55723
commit
df22047962
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ oml.ui.appDialog = function() {
|
|||
disabled: true,
|
||||
title: Ox._('Installing...')
|
||||
});
|
||||
oml.api.restart({update: true},function(response) {
|
||||
oml.isRelaunching = true;
|
||||
oml.api.restart({update: true}, function(response) {
|
||||
if (response.status.code == 200) {
|
||||
setTimeout(reload, 500);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue