diff --git a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css index 28cf3414c2..99ade19239 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css +++ b/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css @@ -26,16 +26,19 @@ ul li.tag, ul li.tag li.subfield_line { padding-left: 30px; } -ul li.tag:before, ul li.tag li.subfield_line:before { +ul li.tag::before, +ul li.tag li.subfield_line::before { + color: #999; + cursor: move; position: absolute; font-family: 'FontAwesome'; font-size: .8em; top: 0; left: 10px; - content: "\f047"; + content: "\f0c9"; } -ul li.tag:before { +ul li.tag::before { padding-top: 1.7em; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index a8e790170b..f20dc7484b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -26,8 +26,14 @@ var $tabs = $('#addbibliotabs').tabs().bind('show.ui-tabs', function(e, ui) { $("#"+ui.panel.id+" input:eq(0)").focus(); }); - $( "ul.sortable_field", $tabs ).sortable(); - $( "ul.sortable_subfield", $tabs ).sortable(); + $( "ul.sortable_field", $tabs ).sortable({ + axis: "y", + containment: $("#addbibliotabs") + }); + $( "ul.sortable_subfield", $tabs ).sortable({ + axis: "y", + containment: "parent" + }); [% IF tab %] link = $("a[href='#[% tab | html %]']");