From: Sven Schöling Date: Wed, 26 Oct 2016 14:16:43 +0000 (+0200) Subject: actionbar: support für tooltips X-Git-Tag: release-3.5.4~1383 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9c337bc888d3212a029280d3c37e51a596659c81;p=kivitendo-erp.git actionbar: support für tooltips --- diff --git a/js/kivi.ActionBar.js b/js/kivi.ActionBar.js index e85fbe45f..5bffa3c5f 100644 --- a/js/kivi.ActionBar.js +++ b/js/kivi.ActionBar.js @@ -117,6 +117,10 @@ namespace('kivi', function(k){ } } + if (data.tooltip) { + $(e).tooltipster({ content: data.tooltip, theme: 'tooltipster-light' }); + } + if (data.call || data.submit) { $(e).click(function(event) { var $hidden, key, func, check;