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_) {
|
click: function(data_) {
|
||||||
data.mediastate = 'transferring';
|
data.mediastate = 'transferring';
|
||||||
that.updateElement(data, $data);
|
that.updateElement(data, $data);
|
||||||
oml.api.download(Ox.extend({
|
oml.api.addListItems({
|
||||||
id: ui.item,
|
items: [ui.item],
|
||||||
}, data_.id == ':' ? {} : {
|
list: data_.id
|
||||||
list: data_.id.slice(1)
|
}, function(result) {
|
||||||
}), function(result) {
|
|
||||||
// ...
|
// ...
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue