View | Details | Raw Unified | Return to bug 17206
Collapse All | Expand All

(-)a/cataloguing/addbiblio.pl (-1 / +1 lines)
Lines 716-722 my $userflags = 'edit_catalogue'; Link Here
716
716
717
my $changed_framework = $input->param('changed_framework');
717
my $changed_framework = $input->param('changed_framework');
718
$frameworkcode = &GetFrameworkCode($biblionumber)
718
$frameworkcode = &GetFrameworkCode($biblionumber)
719
  if ( $biblionumber and not($frameworkcode) and $op ne 'addbiblio' );
719
  if ( $biblionumber and not( defined $frameworkcode) and $op ne 'addbiblio' );
720
720
721
if ($frameworkcode eq 'FA'){
721
if ($frameworkcode eq 'FA'){
722
    $userflags = 'fast_cataloging';
722
    $userflags = 'fast_cataloging';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-3 / +2 lines)
Lines 122-128 Link Here
122
        $(".change-framework").on("click", function(){
122
        $(".change-framework").on("click", function(){
123
            var frameworkcode = $(this).data("frameworkcode");
123
            var frameworkcode = $(this).data("frameworkcode");
124
            $("#frameworkcode").val( frameworkcode );
124
            $("#frameworkcode").val( frameworkcode );
125
            Changefwk( frameworkcode );
125
            Changefwk();
126
        });
126
        });
127
    });
127
    });
128
128
Lines 369-375 function GetZ3950Terms(){ Link Here
369
    return strQuery;
369
    return strQuery;
370
}
370
}
371
371
372
function Changefwk(FwkList) {
372
function Changefwk() {
373
    var f = document.f;
373
    var f = document.f;
374
    f.op.value = "[% op %]";
374
    f.op.value = "[% op %]";
375
    f.biblionumber.value = "[% biblionumberdata %]";
375
    f.biblionumber.value = "[% biblionumberdata %]";
376
- 

Return to bug 17206