3
0
Fork 0

[IMP]Improved style and added title attrib on element to display as tooltip.

11.0
Meet Dholakia 2018-08-04 11:58:48 +05:30 committed by Dennis Sluijk
parent 0cd8a45484
commit c509fa80ef
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ odoo.define("web_listview_invert_selection", function (require) {
}, },
_renderInvertSelection: function (tag) { _renderInvertSelection: function (tag) {
var $icon = $('<button>', {class: 'fa fa-refresh o_invert_selection_btn', name: 'Invert Selection', var $icon = $('<i>', {class: 'fa fa-refresh o_invert_selection_btn', name: 'Invert Selection',
'aria-label': _t('Invert Selection')}); 'aria-label': _t('Invert Selection'), 'title': _t('Invert Selection')});
return $('<' + tag + '>') return $('<' + tag + '>')
.addClass('o_invert_selection') .addClass('o_invert_selection')
.append($icon); .append($icon);