summaryrefslogtreecommitdiff
path: root/addons/base/static/src/xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-04-07 10:36:24 +0200
committerXavier Morel <xmo@openerp.com>2011-04-07 10:36:24 +0200
commit28befb8092f439a7d9065dcf6a16227a9adf95b9 (patch)
treef11f72e24e470ab9f31210612ad2d6bf7ad4d490 /addons/base/static/src/xml
parent2d3afa5e19ac8df2237ae8b8769e5e2b513637de (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')
-rw-r--r--addons/base/static/src/xml/base.xml16
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"/>