From d0a7ff0152773abb23cef4f78f90ecd03fef5a10 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 Signed-off-by: Josef Moravec --- .../prog/en/modules/members/paycollect.tt | 28 ++++++++++++++-------- 1 file changed, 18 insertions(+), 10 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 82c4861ba8..f92f091a42 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 ) %]
@@ -251,17 +253,16 @@ -