]> 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)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 30 Jan 2012 21:04:34 +0000 (22:04 +0100)
commita47f59f72fdb8bd55731f4dc362d710234ddc1a8
tree318cab88d1cf50a841c1894e423a0066b04e1c80
parenta984129e05cc0e20bf00029f5886cbb418cde898
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>
koha-tmpl/intranet-tmpl/prog/en/js/additem.js