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,
|
disabled: true,
|
||||||
title: Ox._('Installing...')
|
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) {
|
if (response.status.code == 200) {
|
||||||
setTimeout(reload, 500);
|
setTimeout(reload, 500);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue