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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-11 / +2 lines)
Lines 210-219 Link Here
210
    [% END %]
210
    [% END %]
211
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %]
211
[% UNLESS ( enter ) %][% INCLUDE 'acquisitions-toolbar.inc' %][% END %]
212
[% IF ( enter ) %]
212
[% IF ( enter ) %]
213
    <form action="updatesupplier.pl" name="updatesupplier" style="display:block" class="validated" method="post">
213
    <form action="updatesupplier.pl" name="updatesupplier" class="validated" method="post">
214
        <input type="hidden" name="op" value="cud-add"/>
214
        <input type="hidden" name="op" value="cud-add"/>
215
        [% INCLUDE 'csrf-token.inc' %]
215
        [% INCLUDE 'csrf-token.inc' %]
216
        <div id="toolbar" class="btn-toolbar">
216
        <div id="toolbar" class="btn-toolbar sticky">
217
            <button class="btn btn-primary" type="submit"><i class="fa fa-save"></i> Save</button>
217
            <button class="btn btn-primary" type="submit"><i class="fa fa-save"></i> Save</button>
218
            [% IF ( booksellerid ) %]
218
            [% IF ( booksellerid ) %]
219
                <a class="btn btn-default cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">
219
                <a class="btn btn-default cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">
Lines 532-538 Link Here
532
532
533
[% MACRO jsinclude BLOCK %]
533
[% MACRO jsinclude BLOCK %]
534
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
534
    [% Asset.js("js/acquisitions-menu.js") | $raw %]
535
    [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %]
536
    [% Asset.js("js/acq.js") | $raw %]
535
    [% Asset.js("js/acq.js") | $raw %]
537
    [% INCLUDE 'datatables.inc' %]
536
    [% INCLUDE 'datatables.inc' %]
538
    <script>
537
    <script>
Lines 695-702 Link Here
695
            });
694
            });
696
        }
695
        }
697
696
698
        var Sticky;
699
700
         $(document).ready(function() {
697
         $(document).ready(function() {
701
            var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, {
698
            var contractst = $("#contractst").dataTable($.extend(true, {}, dataTablesDefaults, {
702
                "columnDefs": [
699
                "columnDefs": [
Lines 741-751 Link Here
741
            refresh_aliases();
738
            refresh_aliases();
742
            refresh_interfaces();
739
            refresh_interfaces();
743
740
744
            Sticky = $("#toolbar");
745
            Sticky.hcSticky({
746
                stickTo: "main",
747
                stickyClass: "floating"
748
            });
749
        });
741
        });
750
    </script>
742
    </script>
751
[% END %]
743
[% END %]
752
- 

Return to bug 36694