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)
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

index a76cb5c..45ef2ef 100644 (file)
@@ -68,7 +68,7 @@ ff.submit();
 //]]>
 </script>
 </head>
-<body onload="calcNeworderTotal()">
+<body>
 
 <!-- TMPL_INCLUDE NAME="header.inc" -->
 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->