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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-1 / +1 lines)
Lines 379-385 Link Here
379
          });
379
          });
380
380
381
          $("#record_ids_selection").on("submit", function(e){
381
          $("#record_ids_selection").on("submit", function(e){
382
            var tab = $(this).find('#batch_del_form:active:first a').attr('href');
382
            var tab = $(this).find('#batch_del_form li a.active:first').attr('href');
383
            if ( tab == '#uploadfile_tab' ) {
383
            if ( tab == '#uploadfile_tab' ) {
384
                $("#shelf_number").empty('');
384
                $("#shelf_number").empty('');
385
                $("#recordnumber_list").val('');
385
                $("#recordnumber_list").val('');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-1 / +1 lines)
Lines 369-375 Link Here
369
            });
369
            });
370
370
371
            $("#record_ids_selection").on("submit", function(e) {
371
            $("#record_ids_selection").on("submit", function(e) {
372
                var tab = $(this).find('#batch_mod_form li.active:first a').attr('href');
372
                var tab = $(this).find('#batch_mod_form li a.active:first').attr('href');
373
                if (tab == '#uploadfile_tab_panel') {
373
                if (tab == '#uploadfile_tab_panel') {
374
                    $("#recordnumber_list, #shelf_number").val('');
374
                    $("#recordnumber_list, #shelf_number").val('');
375
                } else if (tab == '#shelves_tab_panel') {
375
                } else if (tab == '#shelves_tab_panel') {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-2 / +1 lines)
Lines 512-518 Link Here
512
            });
512
            });
513
            $("#patron_batchmod_form").on("submit", function(){
513
            $("#patron_batchmod_form").on("submit", function(){
514
                /* Reset form fields on inactive tabs */
514
                /* Reset form fields on inactive tabs */
515
                var tab = $(this).find('ul.nav-tabs li.active a').attr('href');
515
                var tab = $(this).find('ul.nav-tabs li a.active').attr('href');
516
                if ( tab == '#usecardnumber_panel' ) {
516
                if ( tab == '#usecardnumber_panel' ) {
517
                    $("#borrowernumberuploadfile, #patron_list_id, #borrowernumberlist").val("");
517
                    $("#borrowernumberuploadfile, #patron_list_id, #borrowernumberlist").val("");
518
                } else if ( tab == '#useborrowernumber_panel' ) {
518
                } else if ( tab == '#useborrowernumber_panel' ) {
519
- 

Return to bug 37755