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

This commit is contained in:
mdipierro
2013-05-17 14:19:51 -05:00
parent 7576d85dba
commit 2c9eeccc0e
2 changed files with 2 additions and 2 deletions

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

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)'),