fixed issue 1496:Delete button in SQLFORM.grid does not cause browser redirect, thanks jppmssaraiva
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.4.6-stable+timestamp.2013.05.17.13.52.49
|
Version 2.4.6-stable+timestamp.2013.05.17.14.19.12
|
||||||
|
|||||||
+1
-1
@@ -2055,7 +2055,7 @@ class SQLFORM(FORM):
|
|||||||
if ondelete:
|
if ondelete:
|
||||||
ondelete(table, request.args[-1])
|
ondelete(table, request.args[-1])
|
||||||
record.delete_record()
|
record.delete_record()
|
||||||
redirect(referrer)
|
redirect(referrer, client_side=True)
|
||||||
|
|
||||||
exportManager = dict(
|
exportManager = dict(
|
||||||
csv_with_hidden_cols=(ExporterCSV, 'CSV (hidden cols)'),
|
csv_with_hidden_cols=(ExporterCSV, 'CSV (hidden cols)'),
|
||||||
|
|||||||
Reference in New Issue
Block a user