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