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 20-28 Link Here
20
    <script type="text/javascript">
20
    <script type="text/javascript">
21
        $(document).ready(function(){
21
        $(document).ready(function(){
22
            [% IF tag_number == 'rancor' %]
22
            [% IF tag_number == 'rancor' %]
23
            function RancorReplaceField( new_text ){
23
            function RancorReplaceField( new_text, ind_1, ind_2 ){
24
                var cur_field = opener.opener.jQuery(".CodeMirror")[0].CodeMirror.marceditor.getCurrentField();
24
                var cur_field = opener.opener.jQuery(".CodeMirror")[0].CodeMirror.marceditor.getCurrentField();
25
                cur_field.setText(new_text);
25
                cur_field.setText(new_text);
26
                cur_field.setIndicator1(ind_1);
27
                cur_field.setIndicator2(ind_2);
26
                return true;
28
                return true;
27
            }
29
            }
28
                [% IF ( clear ) %]
30
                [% IF ( clear ) %]
Lines 36-42 Link Here
36
                    [%- END -%]
38
                    [%- END -%]
37
                [%- END -%]‡9[% authid %]";
39
                [%- END -%]‡9[% authid %]";
38
                [% END %]
40
                [% END %]
39
                RancorReplaceField( new_line );
41
                RancorReplaceField( new_line, "[% indicator1 %]", "[% indicator2 %]" );
40
            [% ELSE %]
42
            [% ELSE %]
41
            var index_start = "[% index %]";
43
            var index_start = "[% index %]";
42
            var whichfield;
44
            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