From 7af94dfa3a1d3b45af756740e16e1b876931b100 Mon Sep 17 00:00:00 2001 From: rlx Date: Mon, 24 Jun 2019 17:37:39 +0200 Subject: [PATCH] fix comments placeholder --- static/js/documentInfoView.savvy.js | 2 +- static/js/infoView.savvy.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/documentInfoView.savvy.js b/static/js/documentInfoView.savvy.js index 84573b1..3eb07a1 100644 --- a/static/js/documentInfoView.savvy.js +++ b/static/js/documentInfoView.savvy.js @@ -389,7 +389,7 @@ pandora.ui.documentInfoView = function(data, isMixed) { .append( Ox.EditableContent({ height: 128, - placeholder: formatLight(Ox._(isMixed ? 'Mixed comments' : 'No comments')), + placeholder: formatLight(Ox._(isMixed.comments ? 'Mixed comments' : 'No comments')), tooltip: pandora.getEditTooltip(), type: 'textarea', value: data.comments || '', diff --git a/static/js/infoView.savvy.js b/static/js/infoView.savvy.js index 9c18ff6..a68416b 100644 --- a/static/js/infoView.savvy.js +++ b/static/js/infoView.savvy.js @@ -354,7 +354,7 @@ pandora.ui.infoView = function(data, isMixed) { .append( Ox.EditableContent({ height: 128, - placeholder: formatLight(Ox._(isMixed ? 'Mixed notes' : 'No notes')), + placeholder: formatLight(Ox._(isMixed.notes ? 'Mixed notes' : 'No notes')), tooltip: pandora.getEditTooltip(), type: 'textarea', value: data.notes || '',