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