forked from 0x2620/pandora
overview text does not have an editable title
This commit is contained in:
parent
de4cee558c
commit
b90e34b49b
1 changed files with 2 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue