Lines 26-33
Link Here
|
26 |
var $tabs = $('#addbibliotabs').tabs().bind('show.ui-tabs', function(e, ui) { |
26 |
var $tabs = $('#addbibliotabs').tabs().bind('show.ui-tabs', function(e, ui) { |
27 |
$("#"+ui.panel.id+" input:eq(0)").focus(); |
27 |
$("#"+ui.panel.id+" input:eq(0)").focus(); |
28 |
}); |
28 |
}); |
29 |
$( "ul.sortable_field", $tabs ).sortable(); |
29 |
$( "ul.sortable_field", $tabs ).sortable({ |
30 |
$( "ul.sortable_subfield", $tabs ).sortable(); |
30 |
axis: "y", |
|
|
31 |
containment: $("#addbibliotabs") |
32 |
}); |
33 |
$( "ul.sortable_subfield", $tabs ).sortable({ |
34 |
axis: "y", |
35 |
containment: "parent" |
36 |
}); |
31 |
|
37 |
|
32 |
[% IF tab %] |
38 |
[% IF tab %] |
33 |
link = $("a[href='#[% tab | html %]']"); |
39 |
link = $("a[href='#[% tab | html %]']"); |
34 |
- |
|
|