do not change values of dropdown element, but change selection

This commit is contained in:
Daniel Steglich 2015-03-09 22:35:51 +01:00
parent 6bb73467a6
commit 9f8281f9dc

View File

@ -105,7 +105,7 @@
}else if ($("#id_dynamicdns-dynamicdns_update_url").val() == FREEDNS){
$("#id_dynamicdns-service_type").val(4);
}else{
$("#id_dynamicdns-service_type option:selected").text("other update URL")
$("#id_dynamicdns-service_type").val(5);
}
}else{
$("#id_dynamicdns-service_type").val(1);