Bug 14957: (QA follow-up) Fix script name
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f4b55db9d4
commit
c3906bf1dc
|
|
@ -34,8 +34,6 @@ use C4::Labels::Batch;
|
|||
use Koha::MarcOverlayRules;
|
||||
use Koha::Patron::Categories;
|
||||
|
||||
my $script_name = "/cgi-bin/koha/admin/marc-overlay-rules.pl";
|
||||
|
||||
my $input = new CGI;
|
||||
my $op = $input->param('op') || '';
|
||||
my $errors = [];
|
||||
|
|
@ -70,8 +68,6 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user(
|
|||
}
|
||||
);
|
||||
|
||||
$template->param(script_name => $script_name);
|
||||
|
||||
my %cookies = parse CGI::Cookie($cookie);
|
||||
our $sessionID = $cookies{'CGISESSID'}->value;
|
||||
|
||||
|
|
|
|||
|
|
@ -64,14 +64,14 @@
|
|||
<h3>Remove rule?</h3>
|
||||
<p>Are you sure you want to remove the selected rule(s)?</p>
|
||||
|
||||
<form action="[% script_name | uri %]" method="GET">
|
||||
<form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="GET">
|
||||
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not remove</button>
|
||||
</form>
|
||||
<button type="button" class="approve" id="doremove"><i class="fa fa-fw fa-check"></i> Yes, remove</button>
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
<form action="[% script_name | uri %]" method="POST" id="marc-overlay-rules-form">
|
||||
<form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="POST" id="marc-overlay-rules-form">
|
||||
<table id="marc-overlay-rules">
|
||||
<thead><tr>
|
||||
<th>Rule</th>
|
||||
|
|
@ -251,7 +251,7 @@
|
|||
</table>
|
||||
</form>
|
||||
|
||||
<form action="[% script_name | uri %]" method="post">
|
||||
<form action="/cgi-bin/koha/admin/marc-overlay-rules.pl" method="post">
|
||||
<input type="hidden" name="op" value="redo-matching" />
|
||||
</form>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue