aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-12-03 13:57:30 +0000
committerAlexandru DAMIAN <alexandru.damian@intel.com>2014-12-12 11:40:47 +0000
commitc635dd71670030da78c52545d2bb32b8c485c1af (patch)
treea815187f29b2e8b3bfc2b8f59af39896322cf226 /lib
parente354a40d7dbcd85fea9d37d3983428e4470df2dd (diff)
downloadbitbake-c635dd71670030da78c52545d2bb32b8c485c1af.tar.gz
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/toaster/toastergui/static/js/libtoaster.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/static/js/libtoaster.js b/lib/toaster/toastergui/static/js/libtoaster.js
index 8e76ecb85..37fc80e39 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;