Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard 9060ca36c0
Bug 23753: Add missing humanMsg library to pages using background job JavaScript
The JavaScript used to process background uploads calls the humanMsg
library under some circumstances. There are several templates which use
background-job-progressbar.js which don't include the humanMsg assets.
This patch corrects those templates.

Note: upload-images.tt has been modified to remove the inclusion of
background-job-progressbar.js because it was unused.

To test, apply the patch and test the following processes which include
background job processing:

 - Batch item modification -- the background job is triggered when you
   submit your changes
 - Batch record modification -- the background job is triggered when you
   submit your changes
 - Stage MARC for import -- the background job is triggered when you
   click the "Sage for import" button after uploading a file
 - Staged MARC management -- the background job is triggered when you
   click "Import this batch into the catalog"

In each case the process should complete correctly. If you would like to
test the error message handling provided by the humanMsg library you can
deliberately introduce an error into the JavaScript. After applying the
patch you can modify js/background-job-progressbar.js to alter line 63
from:

   url: f.action,

...to:

   url: f.action + "foo",

Perform the same tests and confirm that you see an error message. Don't
forget to undo your changes to background-job-progressbar.js before
signing off.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-02 09:49:56 +00:00
..
access_files.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
automatic_item_modification_by_age.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
batch_delete_records.tt Bug 24124: Fix authorities selection in batch deletion tool in Chrome 2019-12-13 14:03:05 +00:00
batch_record_modification.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
batchMod-del.tt Bug 23987: "return to cataloguing" if the record is deleted from bachMod-del 2019-12-09 14:31:13 +00:00
batchMod-edit.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
batchMod.tt Bug 21433: Update two-column templates with Bootstrap grid: Tools part 1 2018-11-08 02:18:46 +00:00
cleanborrowers.tt Bug 24484: Add explanatory text to batch patron deletion 2020-01-27 10:14:55 +00:00
csv-profiles.tt Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
export.tt Bug 14647: Make spelling in file format pull downs match 2020-02-20 08:59:41 +00:00
holidays.tt Bug 22272: Calendar: When entering date ranges grey out dates in the past from the start date 2019-08-13 11:53:25 +01:00
import_borrowers.tt Bug 23385: (follow-up) Update link 2019-08-13 11:44:04 +01:00
inventory.tt Bug 24275: Apply anti-the to title column in inventory table 2020-01-15 13:53:51 +00:00
koha-news.tt Bug 22880: Convert opacheader system preference to news block 2020-02-24 13:24:12 +00:00
letter.tt Bug 23354: Add receipting to Pay page 2020-01-13 14:04:09 +00:00
manage-marc-import.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
marc_modification_templates.tt Bug 17510: enable use of subfield 0 in MMT actions 2020-02-21 16:01:34 +00:00
modborrowers.tt Bug 20847: Add more fields to the Batch Patron Modification tool 2020-01-29 09:07:33 +00:00
overduerules.tt Bug 21435: Update two-column templates with Bootstrap grid: Tools part 3 2018-10-27 14:20:59 +00:00
picture-upload.tt Bug 21993: Display a user-friendly message when the CSRF token is wrong 2019-01-25 20:38:32 +00:00
preview_letter.tt Bug 21795: Switch two-column templates to Bootstrap grid: Notices and slips 2018-12-26 20:47:03 +00:00
quotes-upload.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
quotes.tt Bug 22015: Move DataTables CSS to global include 2019-02-19 19:40:35 +00:00
scheduler.tt Bug 21436: Update two-column templates with Bootstrap grid: Tools part 4 2019-01-04 03:13:48 +00:00
showdiffmarc.tt Bug 21436: Update two-column templates with Bootstrap grid: Tools part 4 2019-01-04 03:13:48 +00:00
stage-marc-import.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
stockrotation.tt Bug 22209: Move stock rotation stage and item forms into modals 2019-08-08 16:05:50 +01:00
tools-home.tt Bug 11642: change / to and in related tools menu 2019-07-15 12:43:12 +01:00
upload-images.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
upload.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
viewlog.tt Bug 19791: Keep user in circ when viewing patron's logs 2020-02-19 11:29:58 +00:00