Fixed select bug not selectig value
Former-commit-id: 8c53c1cfd294326123d5efb65af1095ddf35c34c
This commit is contained in:
parent
0d05d5c842
commit
bc00a1b3b9
|
@ -1394,6 +1394,9 @@ function visual_map_editor_print_hack_translate_strings()
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready (function () {
|
$(document).ready (function () {
|
||||||
$("#map_linked").change(function () {
|
$("#map_linked").change(function () {
|
||||||
|
$("option[value=" + this.value + "]", this)
|
||||||
|
.attr("selected", true).siblings()
|
||||||
|
.removeAttr("selected")
|
||||||
$("#text-agent").val("");
|
$("#text-agent").val("");
|
||||||
$("input[name=id_agent]").val(0);
|
$("input[name=id_agent]").val(0);
|
||||||
$("#module").empty();
|
$("#module").empty();
|
||||||
|
|
Loading…
Reference in New Issue