In annotation tooltip, don't claim 'doubleclick to edit' if not editable (fixes #348)
This commit is contained in:
parent
1d8119df4f
commit
f317e6ccf0
1 changed files with 6 additions and 4 deletions
|
@ -123,9 +123,11 @@ Ox.ArrayEditable = function(options, self) {
|
|||
self.options.tooltipText
|
||||
? self.options.tooltipText(item) + '<br>'
|
||||
: ''
|
||||
) + 'Click to select' + (
|
||||
item.editable
|
||||
? ', doubleclick to edit'
|
||||
) + (
|
||||
self.options.editable
|
||||
? 'Click to select' + (
|
||||
item.editable ? ', doubleclick to edit' : ''
|
||||
)
|
||||
: ''
|
||||
),
|
||||
type: self.options.type,
|
||||
|
|
Loading…
Reference in a new issue