diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2012-09-16 22:40:29 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2012-09-16 22:40:29 +0200 |
| commit | c7fc374a8eea8264760b25ff0def12d660d19fd9 (patch) | |
| tree | 66a5a7b193f8c6af642e1644ad04f2aa7c379cc4 /addons/web/static/src/xml/base.xml | |
| parent | 05084ffa663da42da70e205a2bb54cc920a7d15c (diff) | |
[IMP] bounce effect on empty list rows
bzr revid: fp@openerp.com-20120916204029-m4va0yfwnuqanwm6
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"> |
