This commit is contained in:
Massimo DiPierro
2011-11-30 22:36:22 -06:00
parent 1fbbf1734f
commit 3b017cb0e9
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.3 (2011-11-30 22:33:54) dev
Version 1.99.3 (2011-11-30 22:36:21) dev
+4 -2
View File
@@ -1829,8 +1829,10 @@ class SQLFORM(FORM):
htmltable = DIV(htmltable,_style='width:100%;overflow-x:scroll')
if selectable:
htmltable = FORM(htmltable,INPUT(_type="submit"))
if htmltable.process(formname=formname).accepted:
records = [int(r) for r in htmltable.vars.records or []]
if htmltable.process(formname=formname).accepted:#
htmltable.vars.records = htmltable.vars.records or []
htmltable.vars.records = htmltable.vars.records if type(htmltable.vars.records) == list else [htmltable.vars.records]
records = [int(r) for r in htmltable.vars.records]
selectable(records)
redirect(referrer)
else: