Skip to content

Commit

Permalink
Migration to v13: width of button columns
Browse files Browse the repository at this point in the history
Adjustment due to
odoo/odoo@4bf98b4
  • Loading branch information
DocMarty84 committed Oct 26, 2019
1 parent c3979ee commit a13d6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/src/js/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var viewRegistry = require('web.view_registry');
ListRenderer.include(/** @lends instance.web.ListView.List# */{
_renderHeaderCell: function (node) {
if (node.attrs.name === 'action_play' || node.attrs.name === 'action_add_to_playlist') {
return $('<th width=1></th>');
return $(`<th data-name="${node.attrs.name}" width="1px"></th>`);
}
return this._super.apply(this, arguments);
},
Expand Down

0 comments on commit a13d6f8

Please sign in to comment.