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 86-97
Link Here
|
86 |
selectTab( hash ); |
84 |
selectTab( hash ); |
87 |
[% END %] |
85 |
[% END %] |
88 |
|
86 |
|
89 |
Sticky = $("#toolbar"); |
|
|
90 |
Sticky.hcSticky({ |
91 |
stickTo: "#f", |
92 |
stickyClass: "floating" |
93 |
}); |
94 |
|
95 |
/* check cookie to hide/show marcdocs*/ |
87 |
/* check cookie to hide/show marcdocs*/ |
96 |
if( Cookies.get("marcdocs_[% borrowernumber | html %]") == 'hide'){ |
88 |
if( Cookies.get("marcdocs_[% borrowernumber | html %]") == 'hide'){ |
97 |
toggleMARCdocLinks(false); |
89 |
toggleMARCdocLinks(false); |
Lines 757-763
$(document).ready(function(){
Link Here
|
757 |
} |
749 |
} |
758 |
$("#check_errors").html( strAll ); |
750 |
$("#check_errors").html( strAll ); |
759 |
$('html, body').animate({ scrollTop: 0 }, 'fast'); |
751 |
$('html, body').animate({ scrollTop: 0 }, 'fast'); |
760 |
Sticky.hcSticky('refresh'); |
|
|
761 |
return false; |
752 |
return false; |
762 |
} else if( !StrAlert && !StrWarning ){ |
753 |
} else if( !StrAlert && !StrWarning ){ |
763 |
document.f.submit(); |
754 |
document.f.submit(); |
Lines 920-926
$(document).ready(function(){
Link Here
|
920 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
911 |
<input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" /> |
921 |
[% END %] |
912 |
[% END %] |
922 |
|
913 |
|
923 |
<div id="toolbar" class="btn-toolbar"> |
914 |
<div id="toolbar" class="btn-toolbar sticky"> |
924 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
915 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
925 |
[% IF (circborrowernumber) %][%# fast cataloging must lead to items %] |
916 |
[% IF (circborrowernumber) %][%# fast cataloging must lead to items %] |
926 |
<!-- Action is under fast cataloging - Save button redirecting to items --> |
917 |
<!-- Action is under fast cataloging - Save button redirecting to items --> |