From 9c337bc888d3212a029280d3c37e51a596659c81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 26 Oct 2016 16:16:43 +0200 Subject: [PATCH] =?utf8?q?actionbar:=20support=20f=C3=BCr=20tooltips?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/kivi.ActionBar.js | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1