@@ -, +, @@ - Create a record using the Fast add framework - Save the record - Open the record for editing - Use the "Settings" pull down to change the framework to default - Try another framework - Try changing to default from there --- cataloguing/addbiblio.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/cataloguing/addbiblio.pl +++ a/cataloguing/addbiblio.pl @@ -710,7 +710,7 @@ my $userflags = 'edit_catalogue'; my $changed_framework = $input->param('changed_framework'); $frameworkcode = &GetFrameworkCode($biblionumber) - if ( $biblionumber and not($frameworkcode) and $op ne 'addbiblio' ); + if ( $biblionumber and not( defined $frameworkcode) and $op ne 'addbiblio' ); if ($frameworkcode eq 'FA'){ $userflags = 'fast_cataloging'; --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -122,7 +122,7 @@ $(".change-framework").on("click", function(){ var frameworkcode = $(this).data("frameworkcode"); $("#frameworkcode").val( frameworkcode ); - Changefwk( frameworkcode ); + Changefwk(); }); }); @@ -369,7 +369,7 @@ function GetZ3950Terms(){ return strQuery; } -function Changefwk(FwkList) { +function Changefwk() { var f = document.f; f.op.value = "[% op %]"; f.biblionumber.value = "[% biblionumberdata %]"; --