From c058c373f605d4080ff655f0def33ac0ff13eff8 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Wed, 3 Dec 2014 13:57:30 +0000 Subject: bitbake: toaster: Initialise the 'change' icon tooltips All 'change' icons should have a tooltip that appears when you hover over them. The tootlip says (fittingly): "Change". Initialise those icons in the libtoaster.js file so that they work outside the project page. (Bitbake rev: c635dd71670030da78c52545d2bb32b8c485c1af) Signed-off-by: Belen Barros Pena Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/js/libtoaster.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bitbake/lib/toaster') diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js index 8e76ecb..37fc80e 100644 --- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js +++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js @@ -213,6 +213,9 @@ $(document).ready(function() { // show task type and outcome in task details pages $(".task-info").tooltip({ container: 'body', html: true, delay: {show: 200}, placement: 'right' }); + // initialise the tooltips for the icon-pencil icons + $(".icon-pencil").tooltip({ container: 'body', html: true, delay: {show: 400}, title: "Change" }); + // linking directly to tabs $(function(){ var hash = window.location.hash; -- cgit v1.1