View | Details | Raw Unified | Return to bug 5260
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-2 / +7 lines)
Lines 51-56 Link Here
51
            e.preventDefault();
51
            e.preventDefault();
52
            transfer_order_popup( $(this).data("ordernumber"));
52
            transfer_order_popup( $(this).data("ordernumber"));
53
        });
53
        });
54
55
        var MSG_CONFIRM = _("Are you sure you want to send an order e-mail to the vendor?");
56
        $(".confirm").on("click",function(){
57
            return confirmDelete(MSG_CONFIRM);
58
        });
59
54
    });
60
    });
55
//]]>
61
//]]>
56
</script>
62
</script>
Lines 206-212 Link Here
206
                                <form action="/cgi-bin/koha/acqui/basket.pl" method="post">
212
                                <form action="/cgi-bin/koha/acqui/basket.pl" method="post">
207
                                    <input type="hidden" name="op" value="email" />
213
                                    <input type="hidden" name="op" value="email" />
208
                                    <input type="hidden" name="basketno" value="[% basketno %]" />
214
                                    <input type="hidden" name="basketno" value="[% basketno %]" />
209
                                    <button type="submit" class="btn btn-small" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button>
215
                                    <button type="submit" class="btn btn-small confirm" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</button>
210
                                </form>
216
                                </form>
211
                            </div>
217
                            </div>
212
                        [% END %]
218
                        [% END %]
213
- 

Return to bug 5260