Browse Source

Bug 5260: Use post params instead of get to avoid putting op=email in the browser history

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
16.11.x
Jonathan Druart 8 years ago
committed by Kyle M Hall
parent
commit
cf9efd7312
  1. 8
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt

8
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt

@ -202,7 +202,13 @@
<div class="btn-group"><a href="/cgi-bin/koha/acqui/edi_ean.pl?op=ediorder&amp;basketno=[% basketno %]&amp;booksellerid=[% booksellerid %]" class="btn btn-small" id="ediorderbutton"><i class="fa fa-download"></i> Create EDIFACT order</a></div>
[% END %]
[% IF ( active && books_loop ) %]
<div class="btn-group"><a href="[% script_name %]?op=email&amp;basketno=[% basketno %]" class="btn btn-small" id="emailvendorbutton"><i class="fa fa-envelope"></i> E-mail order</a></div>
<div class="btn-group">
<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>
</form>
</div>
[% END %]
</div>
<!-- Modal for confirm deletion box-->

Loading…
Cancel
Save