Redirect to "view parent" after deleting a row
not sure why that was redirecting to "edit parent" before...weird
This commit is contained in:
parent
6af9440ed7
commit
f6712a6686
|
@ -2721,7 +2721,7 @@ class MasterView(View):
|
|||
if not row:
|
||||
raise self.notfound()
|
||||
self.delete_row_object(row)
|
||||
return self.redirect(self.get_action_url('edit', self.get_parent(row)))
|
||||
return self.redirect(self.get_action_url('view', self.get_parent(row)))
|
||||
|
||||
def mobile_delete_row(self):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue