Fixed select bug not selectig value

Former-commit-id: 8c53c1cfd294326123d5efb65af1095ddf35c34c
This commit is contained in:
Luis Calvo 2019-04-09 10:39:07 +02:00
parent 0d05d5c842
commit bc00a1b3b9
1 changed files with 3 additions and 0 deletions

View File

@ -1394,6 +1394,9 @@ function visual_map_editor_print_hack_translate_strings()
<script type="text/javascript">
$(document).ready (function () {
$("#map_linked").change(function () {
$("option[value=" + this.value + "]", this)
.attr("selected", true).siblings()
.removeAttr("selected")
$("#text-agent").val("");
$("input[name=id_agent]").val(0);
$("#module").empty();