fix downloading to list
This commit is contained in:
parent
8a1c83b5fc
commit
c6c032d3d9
1 changed files with 4 additions and 5 deletions
|
@ -204,11 +204,10 @@ oml.ui.infoView = function(externalData, isMixed) {
|
|||
click: function(data_) {
|
||||
data.mediastate = 'transferring';
|
||||
that.updateElement(data, $data);
|
||||
oml.api.download(Ox.extend({
|
||||
id: ui.item,
|
||||
}, data_.id == ':' ? {} : {
|
||||
list: data_.id.slice(1)
|
||||
}), function(result) {
|
||||
oml.api.addListItems({
|
||||
items: [ui.item],
|
||||
list: data_.id
|
||||
}, function(result) {
|
||||
// ...
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue