fix downloading to list

This commit is contained in:
rlx 2016-01-17 16:59:33 +05:30
parent 8a1c83b5fc
commit c6c032d3d9

View file

@ -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) {
// ... // ...
}); });
} }