fix downloading to list
This commit is contained in:
parent
0fa8c8602f
commit
8a1c83b5fc
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
// ...
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue