Koha/koha-tmpl/intranet-tmpl/prog/en/js
Owen Leonard 101ba17685 Bug 16066 - JavaScript error on new patron form when duplicate is suspected
When a new patron is submitted which is suspected to be a duplicate, the
entry form is redisplayed with a new name attribute, "form_nodouble."
Other scripts on the page still look for a form named "form," so there
is an error.

This patch removes the use of "form_nodouble" on the assumption that it
is unnecessary to name the form something different when a duplicate is
suspected. All the same validation scripts should be run on the form
either way.

To test, apply the patch and clear your cache if necessary.

- Go to Patrons -> New patron and add a patron which matches an existing
  one in order to trigger the duplicate warning.
- Confirm that Firebug (or similar) is not reporting a JavaScript error.
- Confirm that the 'Edit existing' and 'Save as new' buttons work
  correctly.

Reproduced JavaScript error and verified that it no longer appears with
this patch.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-21 21:33:49 +00:00
..
pages 15617 - Be able to close "Click to edit" text boxes after opening them 2016-01-27 05:33:12 +00:00
acq.js Bug 12839: aqbooksellers.gstreg is never used 2014-12-03 11:34:48 -03:00
additem.js Bug 14327: Fix js error "TypeError: events is null" in additem.js 2015-06-07 18:40:12 -03:00
ajax.js
audio_alerts.js Bug 15886 - Revise layout and behavior of audio alerts management 2016-03-12 23:36:12 +00:00
background-job-progressbar.js
basket.js Bug 15847: Correct JSHint errors in basket.js in the staff client 2016-02-24 01:20:03 +00:00
basketgroup.js
cataloging.js Bug 10299: authority plugin - authority field are reversed 2015-05-19 11:46:24 -03:00
checkouts.js Bug 15285: Update for 3 specific tables 2016-02-24 00:02:50 +00:00
datatables.js Bug 15916: Datatables - buttons area should be defined 2016-03-02 00:50:40 +00:00
file-upload.js Bug 14321: Integrate Upload.pm into Koha 2015-09-25 12:02:52 -03:00
holds.js Bug 14310 [QA Followup] - Deal with error conditions 2016-01-27 06:20:19 +00:00
item_search_fields.js Bug 15887: Revise layout and behavior of item search fields management 2016-03-02 22:36:17 +00:00
localcovers.js Bug 11982 - Images now display properly in the details section. 2015-03-30 13:45:38 -03:00
marc_modification_templates.js Bug 15867: Move MARC modification templates JavaScript into separate file 2016-03-02 03:19:30 +00:00
marc_subfields_structure.js Bug 15843: Move MARC subfields structure JavaScript into separate file 2016-02-24 01:30:56 +00:00
members.js Bug 16066 - JavaScript error on new patron form when duplicate is suspected 2016-03-21 21:33:49 +00:00
merge-record.js Bug 8064: Fix issues with control fields and non-repeatable check 2015-11-09 15:08:57 -03:00
offlinecirc.js
prevent_submit.js
sms_providers.js Bug 15936 - Revise layout and behavior of SMS cellular providers management 2016-03-08 21:56:44 +00:00
staff-global.js Bug 15910 - Move header search keep text JavaScript into staff-global.js 2016-03-02 03:50:00 +00:00
xmlControlfield.js