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 733-738 Link Here
733
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
733
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
734
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
734
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
735
735
736
        var bookings_table;
736
        $(document).ready(function() {
737
        $(document).ready(function() {
737
            $("#info_digests").tooltip();
738
            $("#info_digests").tooltip();
738
739
Lines 752-758 Link Here
752
            });
753
            });
753
754
754
            // Bookings
755
            // Bookings
755
            var bookings_table;
756
            // Load bookings table on tab selection
756
            // Load bookings table on tab selection
757
            $("#bookings-tab").on( "click", function(){
757
            $("#bookings-tab").on( "click", function(){
758
                if ( !bookings_table ) {
758
                if ( !bookings_table ) {
Lines 832-839 Link Here
832
                    }, [], 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } });
832
                    }, [], 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } });
833
                };
833
                };
834
            });
834
            });
835
            // Bookings
836
837
         });
835
         });
838
836
839
        function uncheck_sibling(me){
837
        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