http://code.google.com/p/web2py/issues/detail?id=533, thans idsvandermolen
This commit is contained in:
1 parent
795bbfcbbc
commit
3c87b19d36
2 files changed
+5
-3
No files matched your search
@@ -1 +1 @@
|
||||
Version 1.99.3 (2011-11-23 16:55:49) dev
|
||||
Version 1.99.3 (2011-11-23 16:58:24) dev
|
||||
+4
-2
@@ -1531,8 +1531,10 @@ class SQLFORM(FORM):
|
||||
url(args=args)))
|
||||
if record and links:
|
||||
for link in links:
|
||||
if link(record):
|
||||
buttons.append(link(record))
|
||||
if isinstance(link,dict):
|
||||
buttons.append(link['body'](record))
|
||||
elif link(record):
|
||||
buttons.append(link(record))
|
||||
return buttons
|
||||
|
||||
formfooter = DIV(
|
||||
|
||||
Reference in new issue
Block a user