Skip to content
Snippets Groups Projects
Commit 292de533fa69 authored by Katia Saurfelt's avatar Katia Saurfelt
Browse files

[facets] add missing DATA_URL javascript variable definition (closes #3230380)

parent ccca6d81e9bc
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,7 @@
self.write_doctype()
# explictly close the <base> tag to avoid IE 6 bugs while browsing DOM
self._cw.html_headers.define_var('BASE_URL', self._cw.base_url())
self._cw.html_headers.define_var('DATA_URL', self._cw.datadir_url)
w(u'<meta http-equiv="content-type" content="%s; charset=%s"/>\n'
% (content_type, self._cw.encoding))
w(u'<meta name="viewport" content="initial-scale=1.0; '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment