]> git.koha-community.org Git - koha.git/commit
Bug 7350: In neworderempty.pl duplicating an item does not preserve select box selections
authorChristophe Croullebois <christophe.croullebois@biblibre.com>
Sat, 10 Dec 2011 17:39:37 +0000 (18:39 +0100)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Sun, 19 Feb 2012 20:54:00 +0000 (15:54 -0500)
commitd3462cdf803bde0a2aeaf3ec16a5b90e596a25b9
treee16d8da295943741fceab06b5f455580fe25e657
parentf50e1ec348ac3c2d89cc4ccdca6996368b3d061f
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>
koha-tmpl/intranet-tmpl/prog/en/js/additem.js