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 755-760 Link Here
755
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
755
        table_settings_relatives_issues_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'relatives-issues-table', 'json' ) | $raw %]
756
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
756
        table_settings_holds_table = [% TablesSettings.GetTableSettings( 'members', 'moremember', 'holds-table', 'json' ) | $raw %]
757
757
758
        var bookings_table;
758
        $(document).ready(function() {
759
        $(document).ready(function() {
759
            $("#info_digests").tooltip();
760
            $("#info_digests").tooltip();
760
761
Lines 774-780 Link Here
774
            });
775
            });
775
776
776
            // Bookings
777
            // Bookings
777
            var bookings_table;
778
            // Load bookings table on tab selection
778
            // Load bookings table on tab selection
779
            $("#bookings-tab").on( "click", function(){
779
            $("#bookings-tab").on( "click", function(){
780
                if ( !bookings_table ) {
780
                if ( !bookings_table ) {
Lines 854-861 Link Here
854
                    }, [], 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } });
854
                    }, [], 0, { patron_id: "[% patron.borrowernumber | html %]", end_date: { ">=": today.toISOString() } });
855
                };
855
                };
856
            });
856
            });
857
            // Bookings
858
859
         });
857
         });
860
858
861
        function uncheck_sibling(me){
859
        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