From 5a898cc80a71e76519f0f6e49a5393d08b08b084 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 6 Apr 2013 11:13:31 -0500 Subject: [PATCH] fixed Issue 1406:Table scrollbar problem in IE, thanks czhang2000 --- VERSION | 2 +- gluon/sqlhtml.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 9c1b22b7..c7df7c23 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.5-stable+timestamp.2013.04.06.10.13.58 +Version 2.4.5-stable+timestamp.2013.04.06.11.12.40 diff --git a/gluon/sqlhtml.py b/gluon/sqlhtml.py index c38047be..32c1b9ae 100644 --- a/gluon/sqlhtml.py +++ b/gluon/sqlhtml.py @@ -2384,7 +2384,9 @@ class SQLFORM(FORM): tr = TR(*trcols, **dict(_class=classtr)) tbody.append(tr) htmltable.append(tbody) - htmltable = DIV(htmltable, _style='width:100%;overflow-x:auto') + htmltable = DIV( + htmltable, _class='web2py_htmltable', + _style='width:100%;overflow-x:auto;-ms-overflow-x:scroll') if selectable: htmltable = FORM(htmltable, INPUT( _type="submit", _value=T(selectable_submit_button)))