Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 672277197d Bug 16386 - Replace the use of "onclick" from patron card creator templates
This patch removes the use of "onclick" from several patron card creator
templates. Events are defined instead in JavaScript.

Also changed:

- Patron search pop-up window is now slightly larger because I found it
  never quite large enough to prevent horizontal scrolling.
- Replaced "Borrower" with "Patron" in a couple of places.
- "Add" link in patron search pop-up is now styled as a Bootstrap
  button.
- Removed Bootstrap styles from some submit buttons.
- Some Font Awesome icons were made using the invalid element
  <icon></icon> instead of <i></i>. These are corrected.
- Fixed some other HTML validation errors.

To test, apply the patch and go to Tools -> Patron card creator.

- Choose New -> Card batch.
  - Click "Add patrons" and perform a search for patrons in the pop-up
    window.
  - Click the "Add" button. The corresponding borrowernumber should be
    added to the textarea in the parent window, and a message should
    appear at the top of the pop-up window confirming that the patron
    has been added. (Note: This patch fixes a version of Bug 13041 which
    prevented the "add" button from working on patrons whose name
    include an apostrophe).
  - In the parent page, in the list of patrons you added to the batch,
    confirm that clicking the "Delete" link triggers a confirmation
    dialog. Test both confirming and canceling.
  - Confirm that clicking the "Export" button next to an individual
    patron triggers a modal window.
    - In the export window, confirm that the "Cancel" link works to
      close the modal.
    - Click the "Export" button again and then the "Export" button in
      the modal.
      - Test that the "Done" button works to close the modal.
- Choose Manage -> Card batches.
  - Test the "Delete" and "Export" buttons as described above.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
All works, no errors.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-05-06 04:22:45 +00:00
..
acqui Bug 16384: Fix cancel link for 'Edit basket' 2016-05-03 15:39:38 +00:00
admin Bug 16383: Making Local Use sysprefs actions buttons 2016-05-04 13:32:01 +00:00
authorities Bug 16366 - Remove obsolete "border" attribute from <img> tags 2016-04-29 16:13:55 +00:00
basket Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
batch
catalogue Bug 16439: Allow styling to button for upload local cover images (Font Awesome Icons) 2016-05-05 19:51:47 +00:00
cataloguing Bug 16368 - Remove obsolete attributes from table tags 2016-04-29 16:13:02 +00:00
circ Bug 15823: Can still access patron discharge slip without having the syspref on 2016-05-06 04:20:48 +00:00
common Bug 16386 - Replace the use of "onclick" from patron card creator templates 2016-05-06 04:22:45 +00:00
course_reserves Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
errors Bug 16270: Typo authentification/authentication 2016-04-29 14:44:26 +00:00
help Bug 16167: Remove Authorised value images prefs 2016-04-29 13:59:58 +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 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
members Bug 16159 - guarantor section missing ID on patron add form 2016-05-05 19:20:02 +00:00
offline_circ Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
patron_lists Bug 16372 - Replace the use of "onclick" for deletion confirmation in some templates 2016-04-29 16:11:14 +00:00
patroncards Bug 16386 - Replace the use of "onclick" from patron card creator templates 2016-05-06 04:22:45 +00:00
plugins Bug 16369 - Clean up and improve plugins template 2016-05-03 15:06:57 +00:00
reports Bug 16451: Fix missisng body id in orders_by_budget.tt 2016-05-06 03:47:57 +00:00
reserve Bug 16366 - Remove obsolete "border" attribute from <img> tags 2016-04-29 16:13:55 +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 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
serials Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +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 16322: Translatability: Also adding "Status unknown" to column table 2016-04-29 15:58:40 +00:00
tags Bug 16381 [QA Followup] - Wrap string for translations 2016-04-29 16:09:08 +00:00
test
tools Bug 16426: follow-up of bug 15840 - correctly manage userid while inserting patrons 2016-05-06 03:41:37 +00:00
virtualshelves Bug 16338 - Remove the use of "onclick" from the lists template 2016-04-29 16:38:37 +00:00
about.tt Bug 7143: Moving about to 16.05. Hurray. 2016-05-04 14:02:13 +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 Bug 16372 - Replace the use of "onclick" for deletion confirmation in some templates 2016-04-29 16:11:14 +00:00