From 0fa8c8602f90831c632f59f573e3546340b96619 Mon Sep 17 00:00:00 2001 From: rlx Date: Sun, 17 Jan 2016 16:52:03 +0530 Subject: [PATCH] don't overwrite 'data' --- static/js/infoView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/infoView.js b/static/js/infoView.js index 1e6ef9a..b6569a8 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -201,7 +201,7 @@ oml.ui.infoView = function(externalData, isMixed) { type: 'image' }) .bindEvent({ - click: function(data) { + click: function() { data.mediastate = 'transferring'; that.updateElement(data, $data); oml.api.download(Ox.extend({