Bugzilla – Attachment 56709 Details for
Bug 5260
Add option to send an order by e-mail to the acquisition module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5260: QA follow-up - Ask for confirmation before sending e-mail
Bug-5260-QA-follow-up---Ask-for-confirmation-befor.patch (text/plain), 1.79 KB, created by
Katrin Fischer
on 2016-10-20 21:27:37 UTC
(
hide
)
Description:
Bug 5260: QA follow-up - Ask for confirmation before sending e-mail
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-10-20 21:27:37 UTC
Size:
1.79 KB
patch
obsolete
>From e99094946a714b4dd472ab16c448bb597c14c36c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 20 Oct 2016 23:22:07 +0200 >Subject: [PATCH] Bug 5260: QA follow-up - Ask for confirmation before sending > e-mail > >With this patch there will be a confirmation alert when clicking >on 'E-mail order'. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index 6a530b1..22d68ed 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -51,6 +51,12 @@ > e.preventDefault(); > transfer_order_popup( $(this).data("ordernumber")); > }); >+ >+ var MSG_CONFIRM = _("Are you sure you want to send an order e-mail to the vendor?"); >+ $(".confirm").on("click",function(){ >+ return confirmDelete(MSG_CONFIRM); >+ }); >+ > }); > //]]> > </script> >@@ -206,7 +212,7 @@ > <form action="/cgi-bin/koha/acqui/basket.pl" method="post"> > <input type="hidden" name="op" value="email" /> > <input type="hidden" name="basketno" value="[% basketno %]" /> >- <button type="submit" class="btn btn-small" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button> >+ <button type="submit" class="btn btn-small confirm" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button> > </form> > </div> > [% END %] >-- >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 5260
:
2653
|
4067
|
4068
|
4781
|
22171
|
56449
|
56450
|
56483
|
56484
|
56549
|
56550
|
56551
|
56560
|
56561
|
56562
|
56568
|
56679
|
56680
|
56686
|
56687
|
56688
|
56689
|
56705
|
56706
|
56707
|
56708
|
56709
|
56786
|
56787
|
56788
|
56789
|
56790
|
56791
|
56792
|
56793
|
56794
|
56795