@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 8 ++++---- koha-tmpl/intranet-tmpl/prog/en/js/holds.js | 2 +- {api => svc}/checkin.pl | 0 {api => svc}/checkouts.pl | 0 {api => svc}/holds.pl | 0 {api => svc}/renew.pl | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename {api => svc}/checkin.pl (100%) rename {api => svc}/checkouts.pl (100%) rename {api => svc}/holds.pl (100%) rename {api => svc}/renew.pl (100%) --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -55,7 +55,7 @@ $(document).ready(function() { exempt_fine: $("#exemptfine").is(':checked') }; - $.post( "/cgi-bin/koha/api/checkin.pl", params, function( data ) { + $.post( "/cgi-bin/koha/svc/checkin.pl", params, function( data ) { id = "#checkin_" + data.itemnumber; content = ""; @@ -84,7 +84,7 @@ $(document).ready(function() { date_due: $("#newduedate").val() }; - $.post( "/cgi-bin/koha/api/renew.pl", params, function( data ) { + $.post( "/cgi-bin/koha/svc/renew.pl", params, function( data ) { var id = "#renew_" + data.itemnumber; var content = ""; @@ -284,7 +284,7 @@ $(document).ready(function() { "bPaginate": false, "bProcessing": true, "bServerSide": true, - "sAjaxSource": '/cgi-bin/koha/api/checkouts.pl', + "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', "fnServerData": function ( sSource, aoData, fnCallback ) { aoData.push( { "name": "borrowernumber", "value": borrowernumber } ); @@ -394,7 +394,7 @@ $(document).ready(function() { "bPaginate": false, "bProcessing": true, "bServerSide": true, - "sAjaxSource": '/cgi-bin/koha/api/checkouts.pl', + "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', "fnServerData": function ( sSource, aoData, fnCallback ) { $.each(relatives_borrowernumbers, function( index, value ) { aoData.push( { "name": "borrowernumber", "value": value } ); --- a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/holds.js @@ -111,7 +111,7 @@ $(document).ready(function() { "bPaginate": false, "bProcessing": true, "bServerSide": true, - "sAjaxSource": '/cgi-bin/koha/api/holds.pl', + "sAjaxSource": '/cgi-bin/koha/svc/holds.pl', "fnServerData": function ( sSource, aoData, fnCallback ) { aoData.push( { "name": "borrowernumber", "value": borrowernumber } );