Lines 15-21
Link Here
|
15 |
[% END %]</title> |
15 |
[% END %]</title> |
16 |
[% INCLUDE 'doc-head-close.inc' %] |
16 |
[% INCLUDE 'doc-head-close.inc' %] |
17 |
[% INCLUDE 'calendar.inc' %] |
17 |
[% INCLUDE 'calendar.inc' %] |
18 |
[% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] |
|
|
19 |
[% Asset.js( "lib/sortable/Sortable.min.js" ) | $raw %] |
18 |
[% Asset.js( "lib/sortable/Sortable.min.js" ) | $raw %] |
20 |
[% INCLUDE 'select2.inc' %] |
19 |
[% INCLUDE 'select2.inc' %] |
21 |
<script> |
20 |
<script> |
Lines 35-41
Link Here
|
35 |
$(window).load(function(){ |
34 |
$(window).load(function(){ |
36 |
$("#loading").hide(); |
35 |
$("#loading").hide(); |
37 |
}); |
36 |
}); |
38 |
var Sticky; |
|
|
39 |
|
37 |
|
40 |
function changeEditor() { |
38 |
function changeEditor() { |
41 |
|
39 |
|
Lines 95-106
Link Here
|
95 |
selectTab( hash ); |
93 |
selectTab( hash ); |
96 |
[% END %] |
94 |
[% END %] |
97 |
|
95 |
|
98 |
Sticky = $("#toolbar"); |
|
|
99 |
Sticky.hcSticky({ |
100 |
stickTo: "#f", |
101 |
stickyClass: "floating" |
102 |
}); |
103 |
|
104 |
/* check cookie to hide/show marcdocs*/ |
96 |
/* check cookie to hide/show marcdocs*/ |
105 |
if( Cookies.get("marcdocs_[% borrowernumber | html %]") == 'hide'){ |
97 |
if( Cookies.get("marcdocs_[% borrowernumber | html %]") == 'hide'){ |
106 |
toggleMARCdocLinks(false); |
98 |
toggleMARCdocLinks(false); |
Lines 766-772
$(document).ready(function(){
Link Here
|
766 |
} |
758 |
} |
767 |
$("#check_errors").html( strAll ); |
759 |
$("#check_errors").html( strAll ); |
768 |
$('html, body').animate({ scrollTop: 0 }, 'fast'); |
760 |
$('html, body').animate({ scrollTop: 0 }, 'fast'); |
769 |
Sticky.hcSticky('refresh'); |
|
|
770 |
return false; |
761 |
return false; |
771 |
} else if( !StrAlert && !StrWarning ){ |
762 |
} else if( !StrAlert && !StrWarning ){ |
772 |
document.f.submit(); |
763 |
document.f.submit(); |
Lines 931-937
$(document).ready(function(){
Link Here
|
931 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
922 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
932 |
[% END %] |
923 |
[% END %] |
933 |
|
924 |
|
934 |
<div id="toolbar" class="btn-toolbar"> |
925 |
<div id="toolbar" class="btn-toolbar sticky"> |
935 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
926 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
936 |
[% IF (circborrowernumber) %][%# fast cataloging must lead to items %] |
927 |
[% IF (circborrowernumber) %][%# fast cataloging must lead to items %] |
937 |
<!-- Action is under fast cataloging - Save button redirecting to items --> |
928 |
<!-- Action is under fast cataloging - Save button redirecting to items --> |