Bug 17401

Summary: Returns form not submitting after printing slip
Product: Koha Reporter: Benjamin Rokseth <benjamin.rokseth>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: gmcharlt, josef.moravec, katrin.fischer, kyle.m.hall, veron
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Benjamin Rokseth 2016-10-05 08:07:44 UTC
Bug 16566 ('Print slip' button formatting inconsistent) broke returns. The popup modal javascript uses preventdefault when generating print slip but is also preventing form submit. The status of the item is therefore not updated.

This patch simply adds the form submit to return to expected behaviour.
Comment 1 Katrin Fischer 2016-12-12 21:21:21 UTC
Hi Benjamin, I don't understand how to test this and what happens, can you add a test plan?
Comment 2 Benjamin Rokseth 2016-12-13 09:52:29 UTC
Hi Katrin, there might be a bug in the bug ;) I believe we blamed the prevendefault for another weird behaviour, but unable to reproduce now, so either it is fixed, or we had a hickup. Closing this.