forked from 0x2620/pandora
add placeholder for empty texts in siteDialog
This commit is contained in:
parent
f8c55f57cb
commit
3af0520c9c
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ pandora.ui.siteDialog = function(section) {
|
||||||
editable: isEditable,
|
editable: isEditable,
|
||||||
tooltip: isEditable ? 'Doubleclick to edit' : '',
|
tooltip: isEditable ? 'Doubleclick to edit' : '',
|
||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
|
placeholder: isEditable ? 'Doubleclick to insert text' : '',
|
||||||
value: result.data.text
|
value: result.data.text
|
||||||
})
|
})
|
||||||
.css(id == 'rights' ? {
|
.css(id == 'rights' ? {
|
||||||
|
|
Loading…
Reference in a new issue