don't overwrite 'data'

This commit is contained in:
rlx 2016-01-17 16:52:03 +05:30
parent 9ceb1c80f4
commit 0fa8c8602f

View file

@ -201,7 +201,7 @@ oml.ui.infoView = function(externalData, isMixed) {
type: 'image' type: 'image'
}) })
.bindEvent({ .bindEvent({
click: function(data) { click: function() {
data.mediastate = 'transferring'; data.mediastate = 'transferring';
that.updateElement(data, $data); that.updateElement(data, $data);
oml.api.download(Ox.extend({ oml.api.download(Ox.extend({