* 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:
Antoine Nguyen
2011-03-21 17:44:21 +01:00
parent 4823cb99ed
commit b03f807a5e
18 changed files with 667 additions and 499 deletions
+1 -1
View File
@@ -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")