From a4d0830e4bcc708821e73f401f7886612a128703 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 3 Jun 2021 16:53:52 +0100 Subject: [PATCH] fix canEdit flag in renderGroup --- static/js/infoView.indiancinema.js | 1 + static/js/infoView.js | 1 + static/js/infoView.padma.js | 1 + 3 files changed, 3 insertions(+) diff --git a/static/js/infoView.indiancinema.js b/static/js/infoView.indiancinema.js index 277c706d1..e5130718c 100644 --- a/static/js/infoView.indiancinema.js +++ b/static/js/infoView.indiancinema.js @@ -1095,6 +1095,7 @@ pandora.ui.infoView = function(data, isMixed) { .appendTo($element); } Ox.EditableContent({ + editable: canEdit, clickLink: pandora.clickLink, format: function(value) { return formatValue(key, value); diff --git a/static/js/infoView.js b/static/js/infoView.js index f094f947d..42f70ce86 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -516,6 +516,7 @@ pandora.ui.infoView = function(data, isMixed) { } $('').html(formatKey(key)).appendTo($element); Ox.EditableContent({ + editable: canEdit, clickLink: pandora.clickLink, format: function(value) { return formatValue(key, value); diff --git a/static/js/infoView.padma.js b/static/js/infoView.padma.js index e5e894d08..ed769498e 100644 --- a/static/js/infoView.padma.js +++ b/static/js/infoView.padma.js @@ -655,6 +655,7 @@ pandora.ui.infoView = function(data, isMixed) { } $('').html(formatKey(key)).appendTo($element); Ox.EditableContent({ + editable: canEdit, clickLink: pandora.clickLink, format: function(value) { return formatValue(key, value);