1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 23:29:49 +00:00

Show a message after sending shared link insteaf of refresh page

This commit is contained in:
zhengxie
2012-11-01 14:00:55 +08:00
parent ea4f3cee67
commit cb16012d75
4 changed files with 20 additions and 16 deletions

View File

@@ -2595,7 +2595,6 @@ def send_shared_link(request):
return HttpResponse(data, status=500, content_type=content_type)
data = json.dumps("success")
messages.add_message(request, messages.INFO, u'发送成功')
return HttpResponse(data, status=200, content_type=content_type)
else:
return HttpResponseBadRequest(json.dumps(form.errors),