update app dialog

This commit is contained in:
rlx 2016-01-12 13:08:49 +05:30
parent 16f2c55723
commit df22047962

View file

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