fixed issue 1496:Delete button in SQLFORM.grid does not cause browser redirect, thanks jppmssaraiva

This commit is contained in:
mdipierro committed 2013-05-17 14:19:51 -05:00
1 parent 7576d85dba
commit 2c9eeccc0e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -2055,7 +2055,7 @@ class SQLFORM(FORM):
if ondelete:
ondelete(table, request.args[-1])
record.delete_record()
redirect(referrer)
redirect(referrer, client_side=True)
exportManager = dict(
csv_with_hidden_cols=(ExporterCSV, 'CSV (hidden cols)'),