forked from 0x2620/pandora
no title fallback
This commit is contained in:
parent
7f31998254
commit
7fa3f7d8fe
2 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
|||
.append(
|
||||
Ox.EditableContent({
|
||||
editable: canEdit,
|
||||
placeholder: formatLight(Ox._('No Title')),
|
||||
placeholder: formatLight(Ox._( isMixed.title ? 'Mixed title' : 'Untitled')),
|
||||
tooltip: canEdit ? pandora.getEditTooltip() : '',
|
||||
value: data.title || ''
|
||||
})
|
||||
|
|
|
@ -228,6 +228,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
|||
Ox.EditableContent({
|
||||
editable: canEdit,
|
||||
tooltip: canEdit ? pandora.getEditTooltip() : '',
|
||||
placeholder: formatLight(Ox._( isMixed.title ? 'Mixed title' : 'Untitled')),
|
||||
value: data.title || ''
|
||||
})
|
||||
.css({
|
||||
|
|
Loading…
Reference in a new issue