Bug 11299: (follow-up) Rebase on recent changes
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / addbiblio.tt
index ea601cd..2b5b8ee 100644 (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();
@@ -267,7 +266,7 @@ function updateHeadingLinks(links) {
         var tag_subfield_line = $('.subfield_line[id^=subfield' + heading.tag + '9]').eq(tag_index);
         if( tag_subfield_line.length < 1 ){ return; }
 
-        var subfield = tag_subfield_line.children('.input_marceditor').eq(0);
+        var subfield = tag_subfield_line.find('.input_marceditor').eq(0);
 
         // Delete the old status if one exists
         tag_subfield_line.children('.subfield_status').remove();