Commit f6c47fc0 by Bence Dányi

webui: redirect url fixed in share editing

parent cf8ada05
......@@ -250,7 +250,7 @@ class AjaxShareEditWizard(View):
allow_stype_modify = True if new_used_share_quota <= det.share_quota else False
if not allow_stype_modify:
messages.error(request, _('You do not have enough free share quota.'))
return redirect('/')
return redirect(share.group)
share.name = request.POST['name']
share.description = request.POST['description']
share.type = stype
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment