Bugzilla – Attachment 2288 Details for
Bug 4920
neworderempty.tmpl shouldn't call calcNeworderTotal() onload
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
remove onload
0001-Bug-4920-neworderempty.tmpl-shouldn-t-call-calcNew.patch (text/plain), 1.15 KB, created by
Dobrica Pavlinusic
on 2010-06-30 11:57:35 UTC
(
hide
)
Description:
remove onload
Filename:
MIME Type:
Creator:
Dobrica Pavlinusic
Created:
2010-06-30 11:57:35 UTC
Size:
1.15 KB
patch
obsolete
>From 64f4d883ec60a26390eb1ec8cdaa7d7f1a7a2daa Mon Sep 17 00:00:00 2001 >From: Dobrica Pavlinusic <dpavlin@rot13.org> >Date: Wed, 30 Jun 2010 13:50:51 +0200 >Subject: [PATCH] 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 fileds also have onChange event which also triggers caclNeworderTotal, >onload event seems redundant. >--- > .../prog/en/modules/acqui/neworderempty.tmpl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >index 603d517..3b6dae7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >@@ -52,7 +52,7 @@ ff.submit(); > //]]> > </script> > </head> >-<body onload="calcNeworderTotal()"> >+<body> > > <!-- TMPL_INCLUDE NAME="header.inc" --> > <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" --> >-- >1.5.6.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4920
: 2288