Several templates declare a JavaScript function "isDate" but the function is never used.
Created attachment 25288 [details] [review] Bug 11765 - Remove unused function isDate from templates Several administration templates declare but do not use the JavaScript function isDate(). This patch removes the declarations. To test, apply the patch and search for instances of "isDate" in Koha templates, includes, and JavaScript files. There should be no results.
Created attachment 25328 [details] [review] Bug 11765 - Remove unused function isDate from templates Several administration templates declare but do not use the JavaScript function isDate(). This patch removes the declarations. To test, apply the patch and search for instances of "isDate" in Koha templates, includes, and JavaScript files. There should be no results. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Created attachment 25337 [details] [review] Bug 11765 - Remove unused function isDate from templates Several administration templates declare but do not use the JavaScript function isDate(). This patch removes the declarations. To test, apply the patch and search for instances of "isDate" in Koha templates, includes, and JavaScript files. There should be no results. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> I'm not sure this function has ever been used. This patch removes the toUC in tools/letter.tt too.
Pushed to master. Thanks, Owen!
Pushed to 3.14.x, will be in 3.14.07