From aad6d26a4403845467ac0c6c0071f8ad627a4113 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 18 Jan 2014 00:50:02 +0000 Subject: [PATCH] documents panel: add tooltips --- static/js/documentsPanel.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/js/documentsPanel.js b/static/js/documentsPanel.js index 9d8e87f1a..57634245b 100644 --- a/static/js/documentsPanel.js +++ b/static/js/documentsPanel.js @@ -489,6 +489,7 @@ pandora.ui.documentsPanel = function(options) { .append( $name = Ox.EditableContent({ editable: editable, + tooltip: editable ? pandora.getEditTooltip('name') : '', value: item.name, width: width }) @@ -527,6 +528,7 @@ pandora.ui.documentsPanel = function(options) { }, height: width, placeholder: 'No description', + tooltip: editable ? pandora.getEditTooltip('description') : '', type: 'textarea', value: item.description || '', width: width @@ -720,6 +722,7 @@ pandora.ui.documentsPanel = function(options) { return Ox.ImageElement({ height: size.height, src: src, + tooltip: 'Click to open document', width: size.width }) .css({