add placeholder for empty texts in siteDialog

This commit is contained in:
j 2012-02-20 05:33:59 +00:00
parent f8c55f57cb
commit 3af0520c9c

View file

@ -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' ? {