bitbake: toaster: initialise applied filter tooltips
PATCH 1/1 bitbake: toaster: initialise applied filter tooltips
Initialise the Bootstrap tooltips for any anchor tag inside a table heading with the btn-primary class applied. This effectively styles the title attribute of the applied filters to look like all other Toaster tooltips.
--- bitbake/lib/toaster/toastergui/static/js/main.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
(quoted diff) +0 -0
b/bitbake/lib/toaster/toastergui/static/js/main.js index 10ac92d..7d195a2 100644
bitbake/lib/toaster/toastergui/static/js/main.js +0 -1
@@ -17,10 +17,13 @@ $(document).ready(function() { // enable popovers in any table cells that contain an anchor with the // .btn class applied - $('td > a.btn').popover({html:true, container:'body', placement:
'left'});
+ $('td > a.btn').popover({html:true, container:'body', placement:'left'});
+
+ // enable tooltips for applied filters
+ $('th a.btn-primary').tooltip({container:'body', html:true,
placement:'bottom'});
// enable help information tooltip
- $(".get-help").tooltip({ container: 'body', html: true, delay: {show:
300} });
+ $(".get-help").tooltip({container:'body', html:true,
delay:{show:300}});
// show help bubble only on hover inside tables $(".hover-help").css("visibility","hidden");
Signature · 1 line
1.7.9.5