fixed issue 1786 with row_is in sqlhtml, thanks simonm3
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.4 (2012-02-09 11:11:08) stable
|
||||
Version 1.99.4 (2012-02-09 11:15:33) stable
|
||||
|
||||
+3
-3
@@ -1783,9 +1783,9 @@ class SQLFORM(FORM):
|
||||
classtr = 'odd'
|
||||
numrec+=1
|
||||
id = row[field_id]
|
||||
if row_id:
|
||||
rid = row_id
|
||||
if callable(rid):
|
||||
if id:
|
||||
rid = id
|
||||
if callable(rid): ### can this ever be callable?
|
||||
rid = rid(row)
|
||||
tr = TR(_id=rid, _class='%s %s' % (classtr, 'with_id'))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user