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() oml.$ui.titlesDialog = oml.ui.titlesDialog()
)).open(); )).open();
} else if (id == 'download') { } else if (id == 'download') {
if (oml.user.ui.item) {
document.location.href = '/' + oml.user.ui.item + '/get/'; document.location.href = '/' + oml.user.ui.item + '/get/';
} else {
Ox.print('no way to download multiple right now');
}
} else { } else {
Ox.print('MAIN MENU DOES NOT YET HANDLE', id); Ox.print('MAIN MENU DOES NOT YET HANDLE', id);
} }