implement quit api. indicate if backend is offline
This commit is contained in:
parent
67ad0a82e9
commit
5d4ed8ffbc
8 changed files with 83 additions and 35 deletions
|
|
@ -476,6 +476,10 @@ oml.ui.mainMenu = function() {
|
|||
} else {
|
||||
Ox.print('no way to download multiple right now');
|
||||
}
|
||||
} else if (id == 'quit') {
|
||||
oml.api.quit(function() {
|
||||
//
|
||||
});
|
||||
} else {
|
||||
Ox.print('MAIN MENU DOES NOT YET HANDLE', id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue