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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-3 / +1 lines)
Lines 759-764 Link Here
759
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
759
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
760
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
760
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
761
761
762
        var bookings_table;
762
        $(document).ready(function() {
763
        $(document).ready(function() {
763
            $("#info_digests").tooltip();
764
            $("#info_digests").tooltip();
764
765
Lines 778-784 Link Here
778
            });
779
            });
779
780
780
            // Bookings
781
            // Bookings
781
            var bookings_table;
782
            // Load bookings table on tab selection
782
            // Load bookings table on tab selection
783
            $("#bookings-tab").on( "click", function(){
783
            $("#bookings-tab").on( "click", function(){
784
                if ( !bookings_table ) {
784
                if ( !bookings_table ) {
Lines 858-865 Link Here
858
                    }, [], 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } });
858
                    }, [], 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } });
859
                };
859
                };
860
            });
860
            });
861
            // Bookings
862
863
         });
861
         });
864
862
865
        function uncheck_sibling(me){
863
        function uncheck_sibling(me){
(-)a/koha-tmpl/intranet-tmpl/prog/js/cancel_booking_modal.js (-2 / +1 lines)
Lines 20-26 $("#cancelBookingForm").on('submit', function(e) { Link Here
20
        if (bookings_table) {
20
        if (bookings_table) {
21
            bookings_table.api().ajax.reload();
21
            bookings_table.api().ajax.reload();
22
        }
22
        }
23
        if (timeline) {
23
        if (typeof timeline !== 'undefined') {
24
            timeline.itemsData.remove(Number(booking_id));
24
            timeline.itemsData.remove(Number(booking_id));
25
        }
25
        }
26
        $('.bookings_count').html(parseInt($('.bookings_count').html(), 10)-1);
26
        $('.bookings_count').html(parseInt($('.bookings_count').html(), 10)-1);
27
- 

Return to bug 33737