mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
* Better folders display,
* Complete folder manipulation support (add/edit/remove), * Javascript code refactoring, * MEDIAL_URL variable is now exposed to the javascript code. see #55
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ def ajax_response(request, status="ok", url="", ajaxnav=False, template=None, **
|
||||
jsonctx = {"status" : status, "content" : content}
|
||||
if ajaxnav:
|
||||
jsonctx["ajaxnav"] = True
|
||||
else:
|
||||
if url != "":
|
||||
jsonctx["url"] = url
|
||||
return HttpResponse(simplejson.dumps(jsonctx), mimetype="application/json")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user