use api.addListItems instead of api.download, fixes #180
This commit is contained in:
parent
97fe8731b8
commit
e9b6a51fff
2 changed files with 4 additions and 17 deletions
|
|
@ -190,7 +190,10 @@ oml.ui.infoView = function(externalData, isMixed) {
|
|||
click: function() {
|
||||
var _this = this;
|
||||
this.options({disabled: true});
|
||||
oml.api.download({id: ui.item}, function(result) {
|
||||
oml.api.addListItems({
|
||||
items: [ui.item],
|
||||
list: ':'
|
||||
}, function(result) {
|
||||
_this.options({disabled: false});
|
||||
data.mediastate = 'transferring';
|
||||
that.updateElement(data, $data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue