fix comments placeholder

This commit is contained in:
rlx 2019-06-24 17:37:39 +02:00
parent 62261f2a10
commit 7af94dfa3a
2 changed files with 2 additions and 2 deletions

View File

@ -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 || '',

View File

@ -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 || '',