]> 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>
Mon, 20 Feb 2012 03:27:30 +0000 (22:27 -0500)
commitf8c821ba181099620e7c36bf409afc9fed6a21c4
treef0cfdb5db112527ae35e6d9492bad8ea6970524a
parent0a61f14d5cbe2a15eb9bd94562c202a6fbb82de2
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>
koha-tmpl/intranet-tmpl/prog/en/js/additem.js