From 6cc316f999de2868b13840757ba45f776b6565e7 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 3 Jul 2014 12:26:23 -0300 Subject: [PATCH] Bug 11703: (qa followup) consistency in svc This patch removes the trailing .pl from the introduced svc scripts. Also removes a leftover (wrong license text) Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js | 8 ++++---- svc/{checkin.pl => checkin} | 0 svc/{checkouts.pl => checkouts} | 2 -- svc/{holds.pl => holds} | 2 -- svc/{renew.pl => renew} | 0 5 files changed, 4 insertions(+), 8 deletions(-) rename svc/{checkin.pl => checkin} (100%) rename svc/{checkouts.pl => checkouts} (98%) rename svc/{holds.pl => holds} (97%) rename svc/{renew.pl => renew} (100%) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js index b99f824..6efe9f9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js @@ -57,7 +57,7 @@ $(document).ready(function() { exempt_fine: $("#exemptfine").is(':checked') }; - $.post( "/cgi-bin/koha/svc/checkin.pl", params, function( data ) { + $.post( "/cgi-bin/koha/svc/checkin", params, function( data ) { id = "#checkin_" + data.itemnumber; content = ""; @@ -86,7 +86,7 @@ $(document).ready(function() { date_due: $("#newduedate").val() }; - $.post( "/cgi-bin/koha/svc/renew.pl", params, function( data ) { + $.post( "/cgi-bin/koha/svc/renew", params, function( data ) { var id = "#renew_" + data.itemnumber; var content = ""; @@ -305,7 +305,7 @@ $(document).ready(function() { "bPaginate": false, "bProcessing": true, "bServerSide": false, - "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', + "sAjaxSource": '/cgi-bin/koha/svc/checkouts', "fnServerData": function ( sSource, aoData, fnCallback ) { aoData.push( { "name": "borrowernumber", "value": borrowernumber } ); @@ -431,7 +431,7 @@ $(document).ready(function() { "bPaginate": false, "bProcessing": true, "bServerSide": false, - "sAjaxSource": '/cgi-bin/koha/svc/checkouts.pl', + "sAjaxSource": '/cgi-bin/koha/svc/checkouts', "fnServerData": function ( sSource, aoData, fnCallback ) { $.each(relatives_borrowernumbers, function( index, value ) { aoData.push( { "name": "borrowernumber", "value": value } ); diff --git a/svc/checkin.pl b/svc/checkin similarity index 100% rename from svc/checkin.pl rename to svc/checkin diff --git a/svc/checkouts.pl b/svc/checkouts similarity index 98% rename from svc/checkouts.pl rename to svc/checkouts index 9de51ac..abe2c0e 100755 --- a/svc/checkouts.pl +++ b/svc/checkouts @@ -1,7 +1,5 @@ #!/usr/bin/perl -# This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) - # Copyright 2014 ByWater Solutions # # This file is part of Koha. diff --git a/svc/holds.pl b/svc/holds similarity index 97% rename from svc/holds.pl rename to svc/holds index 85e0f5b..3ff704f 100755 --- a/svc/holds.pl +++ b/svc/holds @@ -1,7 +1,5 @@ #!/usr/bin/perl -# This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) - # Copyright 2014 ByWater Solutions # # This file is part of Koha. diff --git a/svc/renew.pl b/svc/renew similarity index 100% rename from svc/renew.pl rename to svc/renew -- 1.9.1