From 41d417e2a18185b399f7d7d7a5abcc70ebc45bf3 Mon Sep 17 00:00:00 2001 From: j Date: Thu, 3 Jun 2021 17:17:44 +0100 Subject: [PATCH] editable documents --- static/js/documentInfoView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/documentInfoView.js b/static/js/documentInfoView.js index bb69563e..f8ebe333 100644 --- a/static/js/documentInfoView.js +++ b/static/js/documentInfoView.js @@ -559,6 +559,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { $('').html(formatKey(key)).appendTo($element); Ox.EditableContent({ clickLink: pandora.clickLink, + editable: canEdit, format: function(value) { return formatValue(key, value); },