Browse Source

Bug 11299: (follow-up) correct link

Signed-off-by: Michal Denar <black23@gmail.com>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Nick Clemens 1 year ago
committed by Jonathan Druart
parent
commit
68713d36f7
  1. 1
      authorities/authorities.pl
  2. 3
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt

1
authorities/authorities.pl

@ -567,6 +567,7 @@ my $linkid=$input->param('linkid');
my $authtypecode = $input->param('authtypecode');
my $breedingid = $input->param('breedingid');
my $dbh = C4::Context->dbh;
if(!$authtypecode) {
$authtypecode = $authid ? Koha::Authorities->find($authid)->authtypecode : '';

3
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt

@ -200,7 +200,7 @@ function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) {
// Create a new form that will be POSTed in the new window
var form = $('<form>').attr({
method: 'post',
action: "/cgi-bin/authorities/authorities.pl",
action: "/cgi-bin/koha/authorities/authorities.pl",
target: "new_auth_popup"
});
//add the authtypecode
@ -231,7 +231,6 @@ function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) {
value: $(this).val()
}));
});
$('body').append(form);
form.submit();
form.remove();

Loading…
Cancel
Save