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

(-)a/cataloguing/addbiblio.pl (-1 / +1 lines)
Lines 710-716 my $userflags = 'edit_catalogue'; Link Here
710
710
711
my $changed_framework = $input->param('changed_framework');
711
my $changed_framework = $input->param('changed_framework');
712
$frameworkcode = &GetFrameworkCode($biblionumber)
712
$frameworkcode = &GetFrameworkCode($biblionumber)
713
  if ( $biblionumber and not($frameworkcode) and $op ne 'addbiblio' );
713
  if ( $biblionumber and not( defined $frameworkcode) and $op ne 'addbiblio' );
714
714
715
if ($frameworkcode eq 'FA'){
715
if ($frameworkcode eq 'FA'){
716
    $userflags = 'fast_cataloging';
716
    $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