From b90e34b49b1152c4f48512df098e48898cda0f82 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 21 Mar 2013 13:08:47 +0000 Subject: [PATCH] overview text does not have an editable title --- static/js/pandora/textPanel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/textPanel.js b/static/js/pandora/textPanel.js index ec8824900..e1dae1b7b 100644 --- a/static/js/pandora/textPanel.js +++ b/static/js/pandora/textPanel.js @@ -220,11 +220,11 @@ pandora.ui.textHTML = function(text) { }).appendTo(that), $title = Ox.Editable({ - editable: text.editable, + editable: text.name ? text.editable : false, height: 32, placeholder: text.editable ? 'Doubleclick to edit title' : 'Untitled', tooltip: text.editable ? pandora.getEditTooltip('title') : '', - value: text.name, + value: text.name || pandora.site.site.name + ' Texts', width: width }) .css({