Bug 11765

Summary: Remove unused function isDate from templates
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: fridolin.somers, gmcharlt
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 11764    
Bug Blocks: 11766, 11767, 11769, 11770, 11771    
Attachments: Bug 11765 - Remove unused function isDate from templates
Bug 11765 - Remove unused function isDate from templates
Bug 11765 - Remove unused function isDate from templates

Description Owen Leonard 2014-02-14 17:52:08 UTC
Several templates declare a JavaScript function "isDate" but the function is never used.
Comment 1 Owen Leonard 2014-02-14 17:58:58 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2014-02-16 21:24:10 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2014-02-17 08:49:38 UTC
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.
Comment 4 Galen Charlton 2014-02-18 20:52:37 UTC
Pushed to master.  Thanks, Owen!
Comment 5 Fridolin Somers 2014-05-19 14:15:45 UTC
Pushed to 3.14.x, will be in 3.14.07