fixed Issue 1406:Table scrollbar problem in IE, thanks czhang2000

This commit is contained in:
mdipierro
2013-04-06 11:13:31 -05:00
parent bfb3a320bd
commit 5a898cc80a
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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
+3 -1
View File
@@ -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)))