Relocate new select scripts to in theory always load before ready() fires #83

This commit is contained in:
Tom Price
2015-04-24 15:09:15 +01:00
parent 56d20ead75
commit d239a55fb6
2 changed files with 6 additions and 4 deletions

View File

@@ -10,14 +10,16 @@
<link rel="stylesheet" href="{% static "css/ajax-bootstrap-select.css" %}"/>
{% endblock %}
{% block preload_js %}
<script src="{% static "js/bootstrap-select.js" %}"></script>
<script src="{% static "js/ajax-bootstrap-select.js" %}"></script>
{% endblock %}
{% block js %}
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script src="{% static "js/interaction.js" %}"></script>
<script src="{% static "js/modal.js" %}"></script>
<script src="{% static "js/bootstrap-select.js" %}"></script>
<script src="{% static "js/ajax-bootstrap-select.js" %}"></script>
<script src="{% static "js/autocompleter.js" %}"></script>
<script>

View File

@@ -15,6 +15,7 @@
{% block css %}
{% endblock %}
<script src="//code.jquery.com/jquery-latest.min.js"></script>
{% block preload_js %}
{% endblock %}
@@ -136,7 +137,6 @@
<div class="modal fade" id="modal"></div>
<script src="//code.jquery.com/jquery-latest.min.js"></script>
<script>
Date.prototype.getISOString = function () {
var yyyy = this.getFullYear().toString();