From 87aff7e68fa697331d4e1d207fd957c3e1eab5c5 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. --- .../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 d3c84c8..0fbffe3 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
+
+ + Cancel +
[% ELSIF ( writeoff_individual ) %]
@@ -248,17 +250,16 @@ -