add sort names/titles

This commit is contained in:
Jan Gerber 2015-05-14 13:03:49 +02:00
commit 6bce40ad3a
8 changed files with 579 additions and 0 deletions

View file

@ -456,6 +456,14 @@ oml.ui.mainMenu = function() {
oml.localStorage('enableDebugMode', true);
}
window.location.reload();
} else if (id == 'sortnames') {
(oml.$ui.namesDialog || (
oml.$ui.namesDialog = oml.ui.namesDialog()
)).open();
} else if (id == 'sorttitles') {
(oml.$ui.titlesDialog || (
oml.$ui.titlesDialog = oml.ui.titlesDialog()
)).open();
} else {
Ox.print('MAIN MENU DOES NOT YET HANDLE', id);
}