only open cover dialog if editable

This commit is contained in:
rlx 2016-01-22 12:34:39 +05:30
parent ab959a4728
commit 3540ba29b0

View file

@ -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();