forked from 0x2620/pandora
add and use pandora.getEditTooltip (fixes #1276)
This commit is contained in:
parent
7e0f26864b
commit
971ef8d016
10 changed files with 47 additions and 42 deletions
|
|
@ -225,7 +225,7 @@ pandora.ui.textHTML = function(text) {
|
|||
editable: text.editable,
|
||||
height: 32,
|
||||
placeholder: text.editable ? 'Doubleclick to edit title' : 'Untitled',
|
||||
tooltip: text.editable ? 'Doubleclick to edit title' : '',
|
||||
tooltip: text.editable ? pandora.getEditTooltip('title') : '',
|
||||
value: text.name,
|
||||
width: width
|
||||
})
|
||||
|
|
@ -275,7 +275,7 @@ pandora.ui.textHTML = function(text) {
|
|||
},
|
||||
maxHeight: height - 1,
|
||||
placeholder: text.editable ? 'Doubleclick to edit text' : '',
|
||||
tooltip: text.editable ? 'Doubleclick to edit text' : '',
|
||||
tooltip: text.editable ? pandora.getEditTooltip('text') : '',
|
||||
type: 'textarea',
|
||||
width: width,
|
||||
value: text.text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue