only download one doc
This commit is contained in:
parent
ffd615238e
commit
a04b81444b
1 changed files with 5 additions and 1 deletions
|
@ -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') {
|
||||||
document.location.href = '/' + oml.user.ui.item + '/get/';
|
if (oml.user.ui.item) {
|
||||||
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue