
* Splits the AJAX complete method into complete, success, and error. * Cleans up 404 (e.g. gone/deleted) handling. * Adds 5XX error handling. * Adds client-side alert message templating. * Adds client-side conf (debug and static_url) loaded from backend. Fixes bug 957461. Change-Id: I5114430d35e2d20603e817651540b2db1f8a4d07
10 lines
248 B
HTML
10 lines
248 B
HTML
<script type='text/javascript' charset='utf-8'>
|
|
/* Storage for backend configuration variables which the frontend
|
|
* should be aware of.
|
|
*/
|
|
horizon.conf = {
|
|
debug: {{ debug|yesno:"true,false" }},
|
|
static_url: "{{ STATIC_URL }}"
|
|
}
|
|
</script>
|