Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Galen Charlton 31a3fe1537 Bug 11333: use jQuery validator plugin for CSV profiles forms
This patch adds the use of the jQuery validator plugin for
the two forms (new and edit) on the CSV profiles page.  Doing
this standardizes messages that gets displayed on validation
errors.

This patch, in the process, fixes a bug where if a page has
more than one validated form, only the first such form would
get the validator plugin applied to it -- it looks like $.validate()
does not do implicit iteration.

To test:

[1] Apply the patch, then go to Tools | CSV profiles.
[2] Create a new profile, but leave the name and the MARC/SQL
    fields blank.  When you click the submit button, the form
    should not be submitted; instead, text will be displayed
    to the right of each input that lacks required input.
[3] As above, but change the profile type and verify that the form
    is not submitted unless all of the required fields are filled in.
[4] Edit an existing form, then empty the MARC/SQL field.  Try
    submitting the form; it should refuse to submit the form
    and display text saying that the field is required.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixed some tabs, works nicely and as described.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-12-06 15:12:20 +00:00
..
batchMod-del.tt Bug 9044: Provide item selection in record detail page (staff client) 2013-10-31 05:29:35 +00:00
batchMod-edit.tt Bug 9044: Provide item selection in record detail page (staff client) 2013-10-31 05:29:35 +00:00
batchMod.tt
cleanborrowers.tt
csv-profiles.tt Bug 11333: use jQuery validator plugin for CSV profiles forms 2013-12-06 15:12:20 +00:00
export.tt
holidays.tt
import_borrowers.tt
inventory.tt Bug 7684: (follow-up) use datatables.inc 2013-11-01 00:17:35 +00:00
koha-news.tt Bug 10871: Make confirmation message for deleting news translatable 2013-09-21 17:34:34 +00:00
letter.tt
manage-marc-import.tt Bug 7131: teach MARC import how to overlay items 2013-10-30 04:31:07 +00:00
marc_modification_templates.tt Bug 8015: QA Followup 2 2013-10-31 22:50:48 +00:00
modborrowers.tt Bug 11245: fix typo in modborrowers.tt javascript string 2013-11-21 17:38:23 +00:00
overduerules.tt
picture-upload.tt
quotes-upload.tt
quotes.tt
scheduler.tt
stage-marc-import.tt Bug 8015: Add MARC Modifications Templates 2013-10-31 22:47:08 +00:00
tools-home.tt Bug 8015: QA Followup 2013-10-31 22:50:39 +00:00
upload-images.tt
viewlog.tt