fixes #769
- fixed response.include_files() to behave correctly with response.static_version_urls - added response.static_version_urls to admin - refactored admin URL() usage passing always and correctly 'static' as the controller
This commit is contained in:
@@ -9,7 +9,7 @@ var current_editor = "{{=editor_settings['editor']}}"; //Default editor
|
||||
{{pass}}
|
||||
var current_font_incr = 0; // Default font-size, 0 means don't set
|
||||
</script>
|
||||
{{cm=URL('static%s' % (response.static_version and '/_' + response.static_version or ''),'codemirror')}}
|
||||
{{cm=URL('static', 'codemirror')}}
|
||||
<link rel="stylesheet" href="{{=cm}}/lib/codemirror.css">
|
||||
<link rel="stylesheet" href="{{='%s/theme/%s.css' % (cm, editor_settings['theme'])}}">
|
||||
<script src="{{=cm}}/lib/codemirror.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user