Bug 7350: In neworderempty.pl duplicating an item does not preserve select box selections
cloneNode() does not preserve select box selections, I have created a function to duplicate them : "clone_with_selected".
It is included in "cloneItemBlock", that's all.
Now the values selected in ddl are duplicated as the imput-texts are.
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit
a47f59f72fdb8bd55731f4dc362d710234ddc1a8)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit
d3462cdf803bde0a2aeaf3ec16a5b90e596a25b9)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>