From 3540ba29b01f91112e30f2c199addc18a6b38408 Mon Sep 17 00:00:00 2001 From: rlx Date: Fri, 22 Jan 2016 12:34:39 +0530 Subject: [PATCH] only open cover dialog if editable --- 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 bff758c..89cfa20 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -432,7 +432,7 @@ oml.ui.infoView = function(externalData, isMixed) { .hide() .bindEvent({ doubleclick: function() { - if (!externalData) { + if (isEditable) { oml.$ui.coverDialog = oml.ui.coverDialog( id, data.cover ).open();