Fixed add consecutive source elements
Former-commit-id: 7763da94a48442953879538d42f36673fbdec752
This commit is contained in:
parent
8811257762
commit
68bdbd511c
|
@ -158,7 +158,7 @@ function notifications_modify_two_ways_element (id, source_id, operation) {
|
||||||
var select_end = document.getElementById(
|
var select_end = document.getElementById(
|
||||||
end_id + index_sufix
|
end_id + index_sufix
|
||||||
);
|
);
|
||||||
for (var i = 0; i < select.options.length; i++) {
|
for (var i = select.options.length - 1; i >= 0; i--) {
|
||||||
if(select.options[i].selected ==true){
|
if(select.options[i].selected ==true){
|
||||||
select_end.appendChild(select.options[i]);
|
select_end.appendChild(select.options[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue