From 3af0520c9ce90cdb63a233b836768efd6771c8c4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 20 Feb 2012 05:33:59 +0000 Subject: [PATCH] add placeholder for empty texts in siteDialog --- static/js/pandora/siteDialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/pandora/siteDialog.js b/static/js/pandora/siteDialog.js index 00c12945..e94fce6c 100644 --- a/static/js/pandora/siteDialog.js +++ b/static/js/pandora/siteDialog.js @@ -38,6 +38,7 @@ pandora.ui.siteDialog = function(section) { editable: isEditable, tooltip: isEditable ? 'Doubleclick to edit' : '', type: 'textarea', + placeholder: isEditable ? 'Doubleclick to insert text' : '', value: result.data.text }) .css(id == 'rights' ? {