Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
admin Bug 15990: (follow-up) Making record matching rules actions buttons 2016-03-18 07:10:29 +00:00
authorities Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
basket Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
batch
catalogue Bug 16060 - Add Font Awesome icon to Z39.50 search button when no results are found 2016-03-21 21:32:20 +00:00
cataloguing Bug 16026 - Use Font Awesome icons on cataloging home page 2016-03-11 22:59:10 +00:00
circ Bug 16082: Display a friendly "patron does not exist" message if that's the case - circulation.pl 2016-03-21 16:58:17 +00:00
common
course_reserves
errors
help Bug 11023: Automatic item modification by age (Was Toggle "new" status") 2016-03-02 22:56:31 +00:00
installer Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
labels Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00
members Bug 16066 - JavaScript error on new patron form when duplicate is suspected 2016-03-21 21:33:49 +00:00
offline_circ Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
patron_lists Bug 16022 - Use Font Awesome icons on patron lists page 2016-03-11 21:54:12 +00:00
patroncards Bug 15111: Do not include the antiClickjack legacy browser trick for greybox 2016-03-14 16:30:09 +00:00
plugins
reports Bug 16061: Use Font Awesome icons in reports when filter returns no results 2016-03-21 21:31:31 +00:00
reserve Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
reviews Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
rotating_collections Bug 15830 - Move Rotating Collections actions into a drop-down list 2016-02-24 03:14:27 +00:00
serials Bug 15980: Use Font Awesome icons in subscription frequency deletion confirmation dialog 2016-03-12 23:30:01 +00:00
services Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
sms
suggestion Bug 15084: Replace C4::Budgets::GetCurrencies with Koha::Acquisition::Currencies->search 2016-03-03 20:39:01 +00:00
tags Bug 16064 - Remove use of image to indicate approval in tags moderation 2016-03-21 21:30:19 +00:00
test
tools Bug 15840: Catch errors if userid already exists when importing patrons 2016-03-21 21:24:00 +00:00
virtualshelves Bug 15927 - Remove use of <tr class="highlight"> for alternating row colors 2016-03-02 22:07:13 +00:00
about.tt Bug 16095: Remove target="_blank" when a link refer to an external link 2016-03-21 20:44:52 +00:00
auth.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
intranet-main.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00