wip: UI refactoring

* Cleanup

see #204
This commit is contained in:
Antoine Nguyen
2012-04-22 10:58:44 +02:00
parent 89d946c8cf
commit 5f4b4dee5d
61 changed files with 30 additions and 25 deletions
+9 -1
View File
@@ -9,7 +9,15 @@ var media_url = "";
* 'media_url' (corresponding to django's MEDIA_URL variable).
*/
function set_media_url(url) {
media_url = url;
media_url = url;
}
/*
* Shortcut function that construct an url from the media_url and the
* given value.
*/
function static_url(value) {
return media_url + value;
}
function modalbox(e, css, defhref, defcb, defclosecb) {