Koha/koha-tmpl/intranet-tmpl/prog/en
Nick Clemens 4dcf416dc9
Bug 23220: Prevent form submission before redirect
To test:
 1 - Check in an item to generate a transfer (form another library, no floating)
 2 - Check it in again, click 'Cancel transfer'
 3 - It may or may not work
 4 - To highlight the issue edit return.tt to add the delay line as below:
	$('.cancel-transfer').on("click",function(e){
		delay(5000);
		window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber | html %]&canceltransfer=1'
	});
 5 - Check in the item repeatedly, click 'Cancel transfer'
 6 - View the item in the staff or opac and verify it remains in transit
 7 - Undo changes above, apply patch
 8 - Test 'Cancel transfer', note it works
 9 - Add the delay back in, confirm it still works

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-28 14:25:54 +01:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 23109: Improve description of staffaccess permission 2019-06-24 17:14:36 +01:00
modules Bug 23220: Prevent form submission before redirect 2019-06-28 14:25:54 +01:00
xslt Bug 20986: (follow-up) Avoid br tags, but allow for line breaks to be added easily with CSS 2019-06-06 15:47:58 +01:00
columns.def Bug 13795: Remove occurences of unused columns in code 2019-04-18 10:05:51 +00:00