From 312397b4002b488bb8ed1bc513ccb3d155787971 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 25 Aug 2020 10:56:51 +0000 Subject: [PATCH] Bug 11299: (follow-up) Correct rebase errors and add message class to dialog Signed-off-by: Michal Denar Signed-off-by: Katrin Fischer --- .../prog/en/modules/authorities/authorities.tt | 4 ++-- .../prog/en/modules/cataloguing/addbiblio.tt | 25 ++-------------------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index ed34c91b91..6e55762e06 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -212,9 +212,9 @@ function confirmnotdup(redirect){ - + - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index 678c1be1e9..5e4438daa5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -182,27 +182,6 @@ } [% END %] -function confirmnotdup(redirect){ - $("#confirm_not_duplicate").attr("value","1"); - $("#redirect").attr("value",redirect); - Check(); -} - -function Dopop(link,i) { - defaultvalue = document.getElementById(i).value; - window.open(link+"&result="+defaultvalue,"valuebuilder",'width=700,height=550,toolbar=false,scrollbars=yes'); -} - -/** - * this function open a popup to search on z3950 server. - */ -function PopupZ3950() { - var strQuery = GetZ3950Terms(); - if(strQuery){ - window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber | html %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes'); - } -} - /** * this function append button for create new authority if not found */ @@ -220,7 +199,7 @@ function addCreateAuthorityButton(tag_subfield_line, heading, tag_index) { // Create a new form that will be POSTed in the new window var form = $('
').attr({ method: 'post', - action: "../authorities/authorities.pl", + action: "/cgi-bin/authorities/authorities.pl", target: "new_auth_popup" }); //add the authtypecode @@ -271,7 +250,7 @@ function updateHeadingLinks(links) { // Delete the old message dialog and create a new one $('#autolinker_dialog').remove(); - var message_dialog = $('
' + _("Automatic authority link results:") + '
    '); + var message_dialog = $('
    ' + _("Automatic authority link results:") + '
      '); var message_dialog_ul = message_dialog.find('ul'); $.each(links, function(index, heading) { -- 2.11.0