From 34c87413b668a574a6b506f959db6b1cb0c73baf 2016-10-05 15:15:45 From: Fiorella Quino Date: 2016-10-05 15:15:45 Subject: [PATCH] js file for abs git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@218 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71 --- 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 %}