From eb5b9be5def4ce76f3ca5ecdcc49232bafd3dffa 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=UTF-8 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 --- 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 cea5b0d..7ae818c 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.7.4