]> git.koha-community.org Git - koha.git/commit
Bug 4920 - neworderempty.tmpl shouldn't call calcNeworderTotal() onload
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 20 Dec 2010 12:08:23 +0000 (12:08 +0000)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 17 Jan 2011 07:53:04 +0000 (20:53 +1300)
commit7fd062814dc402f0ef843651cd761733e3383fef
tree5daf22af56e7476dc267b38ff9d21edf5758298f
parenta61db4986d7635e2eadb32f4df7332261e773826
Bug 4920 - neworderempty.tmpl shouldn't call calcNeworderTotal() onload

Currently, modifying existing orders will recalculate values if exchange rate
has changed, which destroys previous data (our use case is just to modify
Planning value fields).

Since fields also have onChange event which also triggers caclNeworderTotal,
onload event seems redundant.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl