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:
Родитель
a7f11a7fea
Коммит
aca5360899
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче