forked from 0x2620/pandora
documents panel: add tooltips
This commit is contained in:
parent
a49c0ec276
commit
aad6d26a44
1 changed files with 3 additions and 0 deletions
|
@ -489,6 +489,7 @@ pandora.ui.documentsPanel = function(options) {
|
||||||
.append(
|
.append(
|
||||||
$name = Ox.EditableContent({
|
$name = Ox.EditableContent({
|
||||||
editable: editable,
|
editable: editable,
|
||||||
|
tooltip: editable ? pandora.getEditTooltip('name') : '',
|
||||||
value: item.name,
|
value: item.name,
|
||||||
width: width
|
width: width
|
||||||
})
|
})
|
||||||
|
@ -527,6 +528,7 @@ pandora.ui.documentsPanel = function(options) {
|
||||||
},
|
},
|
||||||
height: width,
|
height: width,
|
||||||
placeholder: 'No description',
|
placeholder: 'No description',
|
||||||
|
tooltip: editable ? pandora.getEditTooltip('description') : '',
|
||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
value: item.description || '',
|
value: item.description || '',
|
||||||
width: width
|
width: width
|
||||||
|
@ -720,6 +722,7 @@ pandora.ui.documentsPanel = function(options) {
|
||||||
return Ox.ImageElement({
|
return Ox.ImageElement({
|
||||||
height: size.height,
|
height: size.height,
|
||||||
src: src,
|
src: src,
|
||||||
|
tooltip: 'Click to open document',
|
||||||
width: size.width
|
width: size.width
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
||||||
|
|
Loading…
Reference in a new issue