http://code.google.com/p/web2py/issues/detail?id=525, thanks mbelletti
This commit is contained in:
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user