Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Nick Clemens 011ee862d3 Bug 28148: Remove 'print' class from 'Print transfer slip' when transfer exists
The 'print' class triggers JS to create the transfer and update a form

When a transfer exists we have no form and use 'openWin' to trigger the
print

Also, I remove a stray '1' in the template

To test:
1 - Set AutomaticItemReturn to "Don't"
2 - Check in an item from another branch
3 - Confirm the transfer
4 - Check it in again
5 - Click 'Print slip'
6 - Note error in console:
    Uncaught TypeError: this.form is null
7 - apply patch
8 - Repeat
9 - No error!

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-28 11:16:14 +02:00
..
acqui Bug 27240: Basket export cleanup. 2021-04-22 14:50:11 +02:00
admin Bug 27455: (follow-up) Add automatic focus to library name when editing 2021-04-27 16:23:49 +02:00
authorities Bug 26703: authorities, basket and batch folders 2021-04-21 11:16:33 +02:00
basket Bug 26703: authorities, basket and batch folders 2021-04-21 11:16:33 +02:00
batch Bug 26703: authorities, basket and batch folders 2021-04-21 11:16:33 +02:00
catalogue Bug 28178: Display the correct image in the image viewer 2021-04-27 16:23:49 +02:00
cataloguing Bug 26703: cataloguing folder 2021-04-21 11:16:33 +02:00
circ Bug 28148: Remove 'print' class from 'Print transfer slip' when transfer exists 2021-04-28 11:16:14 +02:00
clubs Bug 26703: clubs, common & course_reserves folders 2021-04-21 11:16:34 +02:00
common Bug 26703: clubs, common & course_reserves folders 2021-04-21 11:16:34 +02:00
course_reserves Bug 26703: clubs, common & course_reserves folders 2021-04-21 11:16:34 +02:00
errors Bug 26703: errors, ill and installer folders 2021-04-21 11:16:34 +02:00
ill Bug 26703: errors, ill and installer folders 2021-04-21 11:16:34 +02:00
installer Bug 26703: errors, ill and installer folders 2021-04-21 11:16:34 +02:00
labels Bug 28119: Use full description in layout type selection 2021-04-21 15:25:07 +02:00
mana
members Bug 26734: Convert printfeercpt/printinvoice to use GetPreparedLetter 2021-04-27 16:23:49 +02:00
offline_circ Bug 26703: offline_circ and onboarding folders 2021-04-21 11:16:34 +02:00
onboarding Bug 26703: offline_circ and onboarding folders 2021-04-21 11:16:34 +02:00
patron_lists Bug 26703: patroncards and patron_lists folders 2021-04-21 11:16:35 +02:00
patroncards Bug 26703: patroncards and patron_lists folders 2021-04-21 11:16:35 +02:00
plugins Bug 26703: plugins and pos folders 2021-04-21 11:16:35 +02:00
pos Bug 28127: add transaction timestamp to register details tables 2021-04-21 15:25:07 +02:00
reports Bug 27644: (QA follow-up) Remove size=1 from template 2021-04-21 15:25:07 +02:00
reserve Bug 16787: (follow-up) Add noReservesAllowed to ERROR_MAP 2021-04-22 14:50:11 +02:00
reviews Bug 26703: reserve, reviews & rotating_collections folders 2021-04-21 11:16:35 +02:00
rotating_collections Bug 26703: reserve, reviews & rotating_collections folders 2021-04-21 11:16:35 +02:00
serials Bug 23243: (follow-up) Update wording as requested 2021-04-21 15:25:07 +02:00
services
suggestion Bug 26703: suggestion and tags folders 2021-04-21 11:16:35 +02:00
tags Bug 26703: suggestion and tags folders 2021-04-21 11:16:35 +02:00
test
tools Bug 26734: (follow-up) Add back 'UPGRADE' type to logviewer 2021-04-27 16:23:49 +02:00
virtualshelves Bug 26703: virtualshelves folder 2021-04-21 11:16:35 +02:00
about.tt Bug 26703: modules and modules/acqui folders 2021-04-21 11:16:33 +02:00
auth.tt Bug 26703: (follow-up) fixed some page titles in files 2021-04-22 09:09:28 +02:00
intranet-main.tt