fix downloading to list

This commit is contained in:
rlx 2016-01-17 16:54:53 +05:30
parent 0fa8c8602f
commit 8a1c83b5fc

View file

@ -201,13 +201,13 @@ oml.ui.infoView = function(externalData, isMixed) {
type: 'image'
})
.bindEvent({
click: function() {
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)
}, data_.id == ':' ? {} : {
list: data_.id.slice(1)
}), function(result) {
// ...
});