Bugzilla – Attachment 62265 Details for
Bug 18439
Resend button for notices being hidden by CSS and never unhidden
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18439 - Resend button for notices being hidden by CSS and never unhidden
Bug-18439---Resend-button-for-notices-being-hidden.patch (text/plain), 2.02 KB, created by
Lari Taskula
on 2017-04-18 08:38:41 UTC
(
hide
)
Description:
Bug 18439 - Resend button for notices being hidden by CSS and never unhidden
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2017-04-18 08:38:41 UTC
Size:
2.02 KB
patch
obsolete
>From eb5b9be5def4ce76f3ca5ecdcc49232bafd3dffa Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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 <veron@veron.ch> > >Signed-off-by: Lari Taskula <lari.taskula@jns.fi> >--- > 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' ) %] >- <div class="notice"> >+ <div id="resend_notice[% QUEUED_MESSAGE.message_id %]" class="notice"> > <form action="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]" method="POST"> > <input type="hidden" name="op" value="resend_notice" /> > <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18439
:
62226
|
62227
|
62265
|
62317