View | Details | Raw Unified | Return to bug 36694
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-10 / +1 lines)
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 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/marc21_field_008.tt (-8 / +1 lines)
Lines 25-31 Link Here
25
<h4 id="h4_result">&quot;[% result | html %]&quot;</h4>
25
<h4 id="h4_result">&quot;[% result | html %]&quot;</h4>
26
26
27
<form method="get" name="f_pop" id="f_pop" style="display:block" onsubmit="report()" action="">
27
<form method="get" name="f_pop" id="f_pop" style="display:block" onsubmit="report()" action="">
28
    <div id="toolbar">
28
    <div id="toolbar" class="sticky">
29
        <div class="btn-group">
29
        <div class="btn-group">
30
            <button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> Save</button>
30
            <button type="submit" class="btn btn-primary"><i class="fa fa-save"></i> Save</button>
31
        </div>
31
        </div>
Lines 61-76 Link Here
61
</form>
61
</form>
62
62
63
[% MACRO jsinclude BLOCK %]
63
[% MACRO jsinclude BLOCK %]
64
    [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %]
65
    [% Asset.js("js/xmlControlfield.js") | $raw %]
64
    [% Asset.js("js/xmlControlfield.js") | $raw %]
66
    <script>
65
    <script>
67
        var Sticky;
68
        $(document).ready(function(){
66
        $(document).ready(function(){
69
            Sticky = $("#toolbar");
70
            Sticky.hcSticky({
71
                stickTo: "#f_pop",
72
                stickyClass: "floating"
73
            });
74
            $(".close_window").on("click", function(e){
67
            $(".close_window").on("click", function(e){
75
                e.preventDefault();
68
                e.preventDefault();
76
                window.close();
69
                window.close();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/result.tt (-4 / +1 lines)
Lines 1-7 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
[% PROCESS 'i18n.inc' %]
2
[% PROCESS 'i18n.inc' %]
3
[% BLOCK pagination %]
3
[% BLOCK pagination %]
4
    <nav>
4
    <nav id="toolbar" class="sticky">
5
        [% IF ( displayprev || displaynext ) %]
5
        [% IF ( displayprev || displaynext ) %]
6
            <ul class="pagination">
6
            <ul class="pagination">
7
                [% IF ( displayprev ) %]
7
                [% IF ( displayprev ) %]
Lines 116-124 Link Here
116
    </div>
116
    </div>
117
117
118
[% MACRO jsinclude BLOCK %]
118
[% MACRO jsinclude BLOCK %]
119
    [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %]
120
    <script>
119
    <script>
121
        var Sticky;
122
        $(document).ready(function(){
120
        $(document).ready(function(){
123
            $("#CheckAll").click(function(e){
121
            $("#CheckAll").click(function(e){
124
                e.preventDefault();
122
                e.preventDefault();
125
- 

Return to bug 36694