[Libreoffice-commits] online.git: loleaflet/src
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 1 15:11:53 UTC 2020
loleaflet/src/control/Control.JSDialogBuilder.js | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit fc5ff5776faedf07d64c226c7155364009a6871b
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Apr 24 12:26:54 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri May 1 17:11:34 2020 +0200
notebookbar: show tooltip when label is not shown
Change-Id: If10a04e41775f828abc232e0cc19f70ddd48333b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93272
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index c6f138cd5..675a084d1 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -1530,6 +1530,9 @@ L.Control.JSDialogBuilder = L.Control.extend({
var label = L.DomUtil.create('span', 'ui-content unolabel', div);
label.for = buttonId;
label.innerHTML = data.text;
+ } else {
+ div.title = data.text;
+ $(div).tooltip();
}
var updateFunction = function() {
More information about the Libreoffice-commits
mailing list