diff --git a/apps/main/templates/dev_conf_edit.html b/apps/main/templates/dev_conf_edit.html index 770e53d..6a50e7a 100644 --- a/apps/main/templates/dev_conf_edit.html +++ b/apps/main/templates/dev_conf_edit.html @@ -17,7 +17,7 @@ $('#id_create_from').change(function() { var url = "{% url 'url_add_dev_conf' id_exp %}"; - if ($(this).val()=="2"){ + if ($(this).val()=="2"){ document.location = url+"?template=0"; }else if ($(this).val()=="1"){ document.location = url+"?blank=0"; @@ -25,9 +25,9 @@ document.location = url; } }); - + $('#id_choose_template').change(function() { - var url = "{% url 'url_add_dev_conf' id_exp %}"; + var url = "{% url 'url_add_dev_conf' id_exp %}"; document.location = url+"?template="+$(this).val(); }); @@ -38,71 +38,71 @@ {% if device == 'dds' %} {% endif %} @@ -114,4 +114,8 @@ {% endif %} -{% endblock %} \ No newline at end of file +{% if device == 'abs' %} + +{% endif %} + +{% endblock %}