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

(-)a/authorities/blinddetail-biblio-search.pl (-4 / +4 lines)
Lines 145-159 my $tag_number = $index; Link Here
145
$tag_number =~ s/^tag_(\d*)_.*$/$1/;
145
$tag_number =~ s/^tag_(\d*)_.*$/$1/;
146
146
147
# Remove spaces in indicators
147
# Remove spaces in indicators
148
$indicator1 =~ s/\s//g;
148
$indicator1 =~ s/\s//g if $indicator1;
149
$indicator2 =~ s/\s//g;
149
$indicator2 =~ s/\s//g if $indicator2;;
150
150
151
$template->param(
151
$template->param(
152
    authid          => $authid ? $authid : "",
152
    authid          => $authid ? $authid : "",
153
    index           => $index,
153
    index           => $index,
154
    tagid           => $tagid,
154
    tagid           => $tagid,
155
    indicator1      => $indicator1,
155
    indicator1      => $indicator1 || "",
156
    indicator2      => $indicator2,
156
    indicator2      => $indicator2 || "",
157
    SUBFIELD_LOOP   => \@subfield_loop,
157
    SUBFIELD_LOOP   => \@subfield_loop,
158
    tag_number      => $tag_number,
158
    tag_number      => $tag_number,
159
);
159
);
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt (-2 / +4 lines)
Lines 5-13 Link Here
5
//<![CDATA[
5
//<![CDATA[
6
    $(document).ready(function(){
6
    $(document).ready(function(){
7
        [% IF tag_number == 'rancor' %]
7
        [% IF tag_number == 'rancor' %]
8
        function RancorReplaceField( new_text ){
8
        function RancorReplaceField( new_text, ind_1, ind_2 ){
9
           var cur_field = opener.opener.jQuery(".CodeMirror")[0].CodeMirror.marceditor.getCurrentField();
9
           var cur_field = opener.opener.jQuery(".CodeMirror")[0].CodeMirror.marceditor.getCurrentField();
10
           cur_field.setText(new_text);
10
           cur_field.setText(new_text);
11
           cur_field.setIndicator1(ind_1);
12
           cur_field.setIndicator2(ind_2);
11
           return true;
13
           return true;
12
        }
14
        }
13
            [% IF ( clear ) %]
15
            [% IF ( clear ) %]
Lines 21-27 Link Here
21
                [%- END -%]
23
                [%- END -%]
22
            [%- END -%]‡9[% authid %]";
24
            [%- END -%]‡9[% authid %]";
23
            [% END %]
25
            [% END %]
24
            RancorReplaceField( new_line );
26
            RancorReplaceField( new_line, "[% indicator1 %]", "[% indicator2 %]" );
25
        [% ELSE %]
27
        [% ELSE %]
26
        var index_start = "[% index %]";
28
        var index_start = "[% index %]";
27
        var whichfield;
29
        var whichfield;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt (-2 / +1 lines)
Lines 6-12 Link Here
6
<link rel="stylesheet" href="[% interface %]/lib/codemirror/codemirror_[% KOHA_VERSION %].css" />
6
<link rel="stylesheet" href="[% interface %]/lib/codemirror/codemirror_[% KOHA_VERSION %].css" />
7
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/humanmsg_[% KOHA_VERSION %].css" />
7
<link rel="stylesheet" href="[% interface %]/[% theme %]/css/humanmsg_[% KOHA_VERSION %].css" />
8
<script src="[% interface %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
8
<script src="[% interface %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
9
<script src="[% interface %]/prog/js/cataloging.js" type="text/javascript"></script>
9
<script src="[% interface %]/[% theme %]/js/cataloging_[% KOHA_VERSION %].js" type="text/javascript"></script>
10
[% IF ( bidi ) %]
10
[% IF ( bidi ) %]
11
   <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
11
   <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/right-to-left_[% KOHA_VERSION %].css" />
12
[% END %]
12
[% END %]
13
- 

Return to bug 18904