forked from expo/troggle
Upgrade to django 1.5, some functions have been changed
url in templates now requires quotes roung the first arg USE_TZ added
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
$(function() {
|
||||
$("#id_date").datepicker({dateFormat: "yy-mm-dd"});
|
||||
$("#id_cave").change(function() {
|
||||
$('#id_entrance').load('{% url get_entrances caveslug="" %}' + this.value);
|
||||
$('#id_entrance').load('{% url "get_entrances" caveslug="" %}' + this.value);
|
||||
});
|
||||
$("#id_cave").change(function() {
|
||||
$('#id_qm').load('{% url get_qms caveslug="" %}' + this.value);
|
||||
$('#id_qm').load('{% url "get_qms" caveslug="" %}' + this.value);
|
||||
});
|
||||
$("#id_expedition").change(function() {
|
||||
$('#id_logbookentry').load('{% url get_logbook_entries expeditionslug="" %}' + this.value);
|
||||
$('#id_logbookentry').load('{% url "get_logbook_entries" expeditionslug="" %}' + this.value);
|
||||
});
|
||||
$("#id_expedition").change(function() {
|
||||
$('#id_person').load('{% url get_people expeditionslug="" %}' + this.value);
|
||||
$('#id_person').load('{% url "get_people" expeditionslug="" %}' + this.value);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user