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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-4 / +9 lines)
Lines 49-57 $(document).ready(function(){ Link Here
49
          "fnServerData": function ( sSource, aoData, fnCallback ) {
49
          "fnServerData": function ( sSource, aoData, fnCallback ) {
50
              aoData.push( { "name": "import_batch_id", "value": [% import_batch_id %] } );
50
              aoData.push( { "name": "import_batch_id", "value": [% import_batch_id %] } );
51
51
52
              $.getJSON( sSource, aoData, function (json) {
52
              $.ajax({
53
                  fnCallback(json)
53
                  'dataType': 'json',
54
              } );
54
                  'type': 'POST',
55
                  'url': sSource,
56
                  'data': aoData,
57
                  'success': function(json){
58
                      fnCallback(json);
59
                  }
60
              });
55
          },
61
          },
56
          "fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
62
          "fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
57
            $('td:eq(1)', nRow).html(
63
            $('td:eq(1)', nRow).html(
58
- 

Return to bug 10558