diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-04-07 10:36:24 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-04-07 10:36:24 +0200 |
| commit | 28befb8092f439a7d9065dcf6a16227a9adf95b9 (patch) | |
| tree | f11f72e24e470ab9f31210612ad2d6bf7ad4d490 /addons/base/static/src/xml/base.xml | |
| parent | 2d3afa5e19ac8df2237ae8b8769e5e2b513637de (diff) | |
[IMP] insert thead, tbody; render rows in batches of 50 so e.g. Chrome or Firefox 3 don't freeze for a long time on big lists (e.g. 10s rendering time on views list)
bzr revid: xmo@openerp.com-20110407083624-c2e7bkh2hcqxphfv
Diffstat (limited to 'addons/base/static/src/xml/base.xml')
| -rw-r--r-- | addons/base/static/src/xml/base.xml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml index 2e5ac44d0fa..e04de920943 100644 --- a/addons/base/static/src/xml/base.xml +++ b/addons/base/static/src/xml/base.xml @@ -170,13 +170,15 @@ </table> </t> <t t-name="ListView.header"> - <t t-foreach="columns" t-as="column"> - <th t-if="column.invisible !== '1'"> - <t t-if="column.tag !== 'button'"> - <t t-esc="column.string"/> - </t> - </th> - </t> + <thead> + <t t-foreach="columns" t-as="column"> + <th t-if="column.invisible !== '1'"> + <t t-if="column.tag !== 'button'"> + <t t-esc="column.string"/> + </t> + </th> + </t> + </thead> </t> <t t-name="ListView.rows" t-foreach="rows" t-as="row"> <t t-call="ListView.row"/> |
