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 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 922-928 $(document).ready(function(){ Link Here
922
                        <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" />
913
                        <input type="hidden" value="0" id="confirm_not_duplicate" name="confirm_not_duplicate" />
923
                [% END %]
914
                [% END %]
924
915
925
                <div id="toolbar" class="btn-toolbar">
916
                <div id="toolbar" class="btn-toolbar sticky">
926
                    [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
917
                    [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
927
                        [% IF (circborrowernumber) %][%# fast cataloging must lead to items %]
918
                        [% IF (circborrowernumber) %][%# fast cataloging must lead to items %]
928
                            <!-- Action is under fast cataloging - Save button redirecting to items -->
919
                            <!-- 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