From ea04798a16ad8c8400030440e21825fc20b03808 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 --- 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 cea5b0d66f..7ae818c653 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