http://code.google.com/p/web2py/issues/detail?id=533, thans idsvandermolen
This commit is contained in:
@@ -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)))
|
url(args=args)))
|
||||||
if record and links:
|
if record and links:
|
||||||
for link in links:
|
for link in links:
|
||||||
if link(record):
|
if isinstance(link,dict):
|
||||||
buttons.append(link(record))
|
buttons.append(link['body'](record))
|
||||||
|
elif link(record):
|
||||||
|
buttons.append(link(record))
|
||||||
return buttons
|
return buttons
|
||||||
|
|
||||||
formfooter = DIV(
|
formfooter = DIV(
|
||||||
|
|||||||
Reference in New Issue
Block a user