From 7ab0f8f8e1374af0b716ed14572237846caf3563 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Jan 2019 16:05:12 +0000 Subject: [PATCH] Bug 11373: (follow-up) Add "change calculation" feature to the fine payment forms This patch provides some follow-ups, including corrections to the JavaScript and updates to the text for readability. - Remove obsolete script "type" attribute - Update the use of the obsolete jQuery method "bind" - Use Bootstrap's built-in "show" option instead of simulated click - Handle preventDoubleFormSubmit function's "waiting" class if modal is closed manually To test, apply the patch and follow the original test plan. Everything should work as expected. Note that when the modal is shown, the cursor changes to the "waiting" one when you hover over the body of the page. If you click "No" in the modal, the cursor should return to normal. Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/paycollect.tt | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt index d3c84c8aea..0fbffe3c3d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -99,11 +99,11 @@
  1. - +
  2. - +
  3. @@ -125,8 +125,10 @@
- +
+ + Cancel +
[% ELSIF ( writeoff_individual ) %]
@@ -248,17 +250,16 @@ -