diff --git a/static/js/infoView.js b/static/js/infoView.js index b6569a8..b81c3ba 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -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) { // ... });