Lines 17-25
Link Here
|
17 |
$("#loading").hide(); |
17 |
$("#loading").hide(); |
18 |
}); |
18 |
}); |
19 |
$(document).ready(function() { |
19 |
$(document).ready(function() { |
20 |
$('#addbibliotabs').tabs().bind('show.ui-tabs', function(e, ui) { |
20 |
var $tabs = $('#addbibliotabs').tabs(); |
21 |
$("#"+ui.panel.id+" input:eq(0)").focus(); |
21 |
$( "ul.sortable_field", $tabs ).sortable().disableSelection(); |
22 |
}); |
22 |
$( "ul.sortable_subfield", $tabs ).sortable().disableSelection(); |
23 |
|
23 |
|
24 |
[% IF tab %] |
24 |
[% IF tab %] |
25 |
$('#addbibliotabs').tabs('option', 'selected', "#[% tab %]"); |
25 |
$('#addbibliotabs').tabs('option', 'selected', "#[% tab %]"); |
Lines 458-468
function Changefwk(FwkList) {
Link Here
|
458 |
</ul> |
458 |
</ul> |
459 |
|
459 |
|
460 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
460 |
[% FOREACH BIG_LOO IN BIG_LOOP %] |
461 |
<div id="tab[% BIG_LOO.number %]XX"> |
461 |
<ul id="tab[% BIG_LOO.number %]XX" class="sortable_field"> |
462 |
|
462 |
|
463 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
463 |
[% FOREACH innerloo IN BIG_LOO.innerloop %] |
464 |
[% IF ( innerloo.tag ) %] |
464 |
[% IF ( innerloo.tag ) %] |
465 |
<div class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
465 |
<li class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
466 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
466 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
467 |
[% UNLESS hide_marc %] |
467 |
[% UNLESS hide_marc %] |
468 |
[% IF advancedMARCEditor %] |
468 |
[% IF advancedMARCEditor %] |
Lines 542-551
function Changefwk(FwkList) {
Link Here
|
542 |
</span> |
542 |
</span> |
543 |
|
543 |
|
544 |
</div> |
544 |
</div> |
545 |
|
545 |
<ul class="sortable_subfield"> |
546 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
546 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
547 |
<!-- One line on the marc editor --> |
547 |
<!-- One line on the marc editor --> |
548 |
<div class="subfield_line" style="[% subfield_loo.visibility %]" id="subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]"> |
548 |
<li class="subfield_line" style="[% subfield_loo.visibility %]" id="subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]"> |
549 |
|
549 |
|
550 |
[% UNLESS advancedMARCEditor %] |
550 |
[% UNLESS advancedMARCEditor %] |
551 |
[% IF ( subfield_loo.fixedfield ) %]<label for="tag_[% subfield_loo.tag %]_subfield_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" style="display:none;" class="labelsubfield"> |
551 |
[% IF ( subfield_loo.fixedfield ) %]<label for="tag_[% subfield_loo.tag %]_subfield_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" style="display:none;" class="labelsubfield"> |
Lines 597-610
function Changefwk(FwkList) {
Link Here
|
597 |
[% END %] |
597 |
[% END %] |
598 |
</span> |
598 |
</span> |
599 |
|
599 |
|
600 |
</div> |
600 |
</li> |
601 |
<!-- End of the line --> |
601 |
<!-- End of the line --> |
602 |
[% END %] |
602 |
[% END %] |
603 |
|
603 |
</ul> |
604 |
</div> |
604 |
</li> |
605 |
[% END %]<!-- if innerloo.tag --> |
605 |
[% END %]<!-- if innerloo.tag --> |
606 |
[% END %]<!-- BIG_LOO.innerloop --> |
606 |
[% END %]<!-- BIG_LOO.innerloop --> |
607 |
</div> |
607 |
</ul> |
608 |
[% END %]<!-- BIG_LOOP --> |
608 |
[% END %]<!-- BIG_LOOP --> |
609 |
|
609 |
|
610 |
</div><!-- tabs --> |
610 |
</div><!-- tabs --> |