diff options
author | 2014-12-03 13:57:30 +0000 | |
---|---|---|
committer | 2014-12-12 11:40:47 +0000 | |
commit | c635dd71670030da78c52545d2bb32b8c485c1af (patch) | |
tree | a815187f29b2e8b3bfc2b8f59af39896322cf226 /lib | |
parent | e354a40d7dbcd85fea9d37d3983428e4470df2dd (diff) | |
download | bitbake-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.js | 3 |
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; |