Skip to content

Commit

Permalink
[FIX] Select tags don't get data-bt-testing-* attributes (brain-tec#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Chambreuil committed Nov 28, 2016
1 parent 4c26587 commit 4047b42
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion web_selenium/static/src/xml/base_ext.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,21 @@
<!--</t>-->

<!-- tested: ok 9.0 EE -->
<t t-extend="Application.switcher">
<t t-jquery="div a.o_action_app">
this.attr('t-att-data-bt-testing-sub-menu_id', 'second_level_menu.name');
</t>
</t>

<t t-extend="Menu.sections">
<t t-jquery="li a.dropdown-toggle">
this.attr('t-att-data-bt-testing-sub-menu_id', 'second_level_menu.id');
this.attr('t-att-data-bt-testing-sub-menu_id', 'second_level_menu.name');
</t>
</t>

<t t-extend="Menu.sections">
<t t-jquery="li ul li a.o_menu_entry_lvl_2">
this.attr('t-att-data-bt-testing-sub-menu_id', 'second_level_menu.name');
</t>
</t>

Expand Down

0 comments on commit 4047b42

Please sign in to comment.