Merge branch 'master' of https://github.com/utek/wagtail into utek-master

This commit is contained in:
Matt Westcott 2014-03-26 15:34:44 +00:00
commit 77cf58c024
2 changed files with 11 additions and 2 deletions

View file

@ -17,3 +17,5 @@
{# TODO: a method of injecting these sorts of things on demand when the modal is spawned #}
<link rel="stylesheet" href="{{ STATIC_URL }}wagtailadmin/scss/vendor/jquery.tagit.css">
{% endcompress %}
{{ edit_handler.form.media.css }}

View file

@ -39,6 +39,13 @@
and include it in wagtailadmin/js/vendor/
{% endcomment %}
{% get_localized_datepicker_js %}
{% comment %}
Additional js from widgets media. Allows for custom widgets in admin panel.
Can be used for TODO above (including image-choser.js at wagtailimages)
{% endcomment %}
{{ edit_handler.form.media.js }}
<script>
window.chooserUrls = {
'documentChooser': '{% url "wagtaildocs_chooser" %}',
@ -47,10 +54,10 @@
'pageChooser': '{% url "wagtailadmin_choose_page" %}',
'snippetChooser': '{% url "wagtailsnippets_choose_generic" %}'
};
{% get_date_format_override as format_override %}
window.overrideDateInputFormat ='{{ format_override }}';
(function() {
function fixPrefix(str) {return str;}