This commit is contained in:
Massimo Di Pierro committed 2011-11-23 16:58:31 -06:00
1 parent 795bbfcbbc
commit 3c87b19d36
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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(