Fixed add consecutive source elements

Former-commit-id: 7763da94a48442953879538d42f36673fbdec752
This commit is contained in:
fermin831 2019-02-05 13:46:16 +01:00
parent 8811257762
commit 68bdbd511c
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ function notifications_modify_two_ways_element (id, source_id, operation) {
var select_end = document.getElementById(
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){
select_end.appendChild(select.options[i]);
}