Redirect to "view parent" after deleting a row

not sure why that was redirecting to "edit parent" before...weird
This commit is contained in:
Lance Edgar 2018-07-26 13:33:21 -05:00
parent 6af9440ed7
commit f6712a6686

View file

@ -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):
"""