// 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
value: $(this).val()
}));
});
-
$('body').append(form);
form.submit();
form.remove();
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();