Lines 48-64
Link Here
|
48 |
selectTab( "#tab0XX_panel" ); |
48 |
selectTab( "#tab0XX_panel" ); |
49 |
} |
49 |
} |
50 |
|
50 |
|
51 |
$("#authoritytabs ul.sortable_field").each( (i, e) => { |
51 |
function initializeSortable(selector) { |
52 |
Sortable.create(e, { |
52 |
$(selector).each((i, e) => { |
53 |
animation: 150 |
53 |
Sortable.create(e, { |
54 |
}); |
54 |
handle: '.handle', |
55 |
}); |
55 |
direction: 'vertical', |
56 |
|
56 |
animation: 150, |
57 |
$("#authoritytabs ul.sortable_subfield").each( (i, e) => { |
57 |
}); |
58 |
Sortable.create(e, { |
58 |
}); |
59 |
animation: 150 |
59 |
} |
60 |
}); |
60 |
initializeSortable("#authoritytabs ul.sortable_field"); |
61 |
}); |
61 |
initializeSortable("#authoritytabs ul.sortable_subfield"); |
62 |
|
62 |
|
63 |
Sticky = $("#toolbar"); |
63 |
Sticky = $("#toolbar"); |
64 |
Sticky.hcSticky({ |
64 |
Sticky.hcSticky({ |
Lines 556-561
Link Here
|
556 |
|
556 |
|
557 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
557 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
558 |
[% UNLESS hide_marc %] |
558 |
[% UNLESS hide_marc %] |
|
|
559 |
[% IF ( innerloo.repeatable ) %] |
560 |
<span class="handle"></span> |
561 |
[% END %] |
559 |
[% IF advancedMARCEditor %] |
562 |
[% IF advancedMARCEditor %] |
560 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to expand this tag" data-field_id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'">[% innerloo.tag | html %]</a> |
563 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to expand this tag" data-field_id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'">[% innerloo.tag | html %]</a> |
561 |
[% ELSE %] |
564 |
[% ELSE %] |
Lines 638-643
Link Here
|
638 |
|
641 |
|
639 |
[% UNLESS hide_marc %] |
642 |
[% UNLESS hide_marc %] |
640 |
<div class="subfieldcode"> |
643 |
<div class="subfieldcode"> |
|
|
644 |
<span class="handle"></span> |
641 |
<input type="text" |
645 |
<input type="text" |
642 |
title="[% subfield_loo.marc_lib | $raw %]" |
646 |
title="[% subfield_loo.marc_lib | $raw %]" |
643 |
style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" |
647 |
style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" |
644 |
- |
|
|