Bug 5991

Summary: Javascript error on purchase suggestion pages
Product: Koha Reporter: Owen Leonard <oleonard>
Component: AcquisitionsAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, katrin.fischer, mark.gavillet, paul.poulain
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Proposed fix
Revised fix
Signed off patch

Description Owen Leonard 2011-03-29 18:22:04 UTC
1. On the main suggestions page there is a javascript error caused by a function running which applies only to the edit page.
2. On the edit page, the following error occurs:

listprice is not defined /intranet-tmpl/prog/en/js/acq.js Line 698

There is no "listprice" form field, so I'm assuming it should be "price."
Comment 1 Owen Leonard 2011-03-29 18:45:12 UTC Comment hidden (obsolete)
Comment 2 Paul Poulain 2011-04-04 12:31:16 UTC
unless i'm missing something, a recent change makes the patch not apply anymore
Comment 3 Owen Leonard 2011-04-04 12:50:37 UTC Comment hidden (obsolete)
Comment 4 Katrin Fischer 2011-04-04 14:13:01 UTC
Created attachment 3631 [details] [review]
Signed off patch
Comment 5 Chris Cormack 2011-04-04 22:15:10 UTC
Pushed, please test