From 248ef1a63a727c492f7ab0810b4962dafbb018bf Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 1 Aug 2013 11:04:12 +0000 Subject: [PATCH] 0xdb info view: fix 'delete movie' functionality --- static/js/infoView.0xdb.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/infoView.0xdb.js b/static/js/infoView.0xdb.js index d9159b2a..74ce6bad 100644 --- a/static/js/infoView.0xdb.js +++ b/static/js/infoView.0xdb.js @@ -60,10 +60,10 @@ pandora.ui.infoView = function(data) { background: 'rgba(0, 0, 0, 0)' }) .bindEvent({ - click: function(data) { - if (data.id == 'update') { + click: function(data_) { + if (data_.id == 'update') { updateMetadata(); - } else if (data.id == 'delete') { + } else if (data_.id == 'delete') { pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open(); } }