Review replies should bounce to list (bug 807283)

Previously, there was code that did pseudo-POST hijacking. Not
anymore (because we have actual POST hijacking), but that means that
all of the wonky code that depended on it is going to float to the
surface.

I'm probably going to rip out a lot of code from
media/js/mkt/ratings.js later, but this should solve the issue of the
browser not leaving the modal dialog.
This commit is contained in:
Matt Basta 2012-10-31 07:57:53 -07:00
Родитель a7f11a7fea
Коммит aca5360899
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -116,7 +116,7 @@ def reply(request, addon, review_id):
_('Your reply was successfully added.') if new else
_('Your reply was successfully updated.'))
return http.HttpResponse()
return redirect(addon.get_ratings_url('list'))
@addon_view