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>
master
Nick Clemens 5 months ago
parent
commit
68713d36f7
2 changed files with 2 additions and 2 deletions
  1. +1
    -0
      authorities/authorities.pl
  2. +1
    -2
      koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt

+ 1
- 0
authorities/authorities.pl View File

@@ -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 : '';


+ 1
- 2
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt View File

@@ -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