diff options
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index b6b89a4f1ec..e34f3827dcf 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -650,9 +650,11 @@ </table> <div t-name="ListView.buttons" class="oe_list_buttons"> <t t-if="!widget.no_leaf and widget.options.action_buttons !== false and widget.options.addable and widget.is_action_enabled('create')"> - <button type="button" class="oe_button oe_list_add oe_highlight"> - <t t-esc="widget.options.addable"/> - </button> + <div name="oe_list_add_div"> + <button type="button" class="oe_button oe_list_add oe_highlight"> + <t t-esc="widget.options.addable"/> + </button> + </div> </t> </div> <t t-name="ListView.pager"> @@ -693,7 +695,7 @@ </td> </tr> <t t-extend="ListView.buttons"> - <t t-jquery="button.oe_list_add" t-operation="after"> + <t t-jquery="div.oe_list_add_div" t-operation="after"> <button class="oe_button oe_list_save oe_highlight" type="button">Save</button> <span class="oe_alternative"> |
