[bitbake-devel] [PATCH 07/18] toaster: Initialise the 'change' icon tooltips
Alex DAMIAN
alexandru.damian at intel.com
Fri Dec 12 11:45:06 UTC 2014
From: Belen Barros Pena <belen.barros.pena at intel.com>
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.
Signed-off-by: Belen Barros Pena <belen.barros.pena at intel.com>
---
lib/toaster/toastergui/static/js/libtoaster.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/toaster/toastergui/static/js/libtoaster.js b/lib/toaster/toastergui/static/js/libtoaster.js
index 8e76ecb..37fc80e 100644
--- a/lib/toaster/toastergui/static/js/libtoaster.js
+++ b/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;
--
1.9.1
More information about the bitbake-devel
mailing list