From c8fbbecf789773bc6e4972361788499ab77470d8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 17 Apr 2017 13:22:24 -0400 Subject: [PATCH] Bug 18439 - Resend button for notices being hidden by CSS and never unhidden MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Current jQuery is not unhiding resend button, this patch adds an id and a toggle command To test: 1 - Enable EnhancedMessagingPreferences 2 - Find a patron with sent or failed messages 3 - Note you can expand message, but not resend 4 - Apply patch 5 - Note that on expanding message a 'Resend' button appears 6 - Ensure resend button operates as expected Works as expected. Signed-off-by: Marc Véron Signed-off-by: Lari Taskula Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit ea04798a16ad8c8400030440e21825fc20b03808) Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt index 0d8b7d5d71..0ac5b77a5b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt @@ -20,6 +20,7 @@ e.preventDefault(); var rowid = $(this).data("noticeid"); $("#notice"+rowid).toggle(); + $("#resend_notice"+rowid).toggle(); }); }); @@ -76,7 +77,7 @@ [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]deleted [% ELSE %][% QUEUED_MESSAGE.status %][% END %] [% IF ( QUEUED_MESSAGE.status != 'pending' ) %] -
+
-- 2.39.5