only download one doc

This commit is contained in:
j 2016-01-07 11:36:08 +05:30
parent ffd615238e
commit a04b81444b

View file

@ -467,7 +467,11 @@ oml.ui.mainMenu = function() {
oml.$ui.titlesDialog = oml.ui.titlesDialog()
)).open();
} else if (id == 'download') {
if (oml.user.ui.item) {
document.location.href = '/' + oml.user.ui.item + '/get/';
} else {
Ox.print('no way to download multiple right now');
}
} else {
Ox.print('MAIN MENU DOES NOT YET HANDLE', id);
}