mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
Ticket #21 + layout refactoring.
This commit is contained in:
@@ -167,6 +167,7 @@ def newmailbox(request, dom_id=None):
|
||||
|
||||
events.raiseEvent("CreateMailbox", mbox=mb)
|
||||
|
||||
request.user.message_set.create(message=_("Mailbox created."))
|
||||
ctx = _ctx_ok(reverse(admin.views.mailboxes, args=[domain.id]))
|
||||
return HttpResponse(simplejson.dumps(ctx),
|
||||
mimetype="application/json")
|
||||
|
||||
Reference in New Issue
Block a user