[Koha-bugs] [Bug 11764] Move repeatedly redefined function toUC() into staff-global.js

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 18:37:18 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11764

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 25283
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25283&action=edit
Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js

toUC() is repeatedly declared on many administration templates. This
function, used to transform user input to uppercase, can be added to
staff-global.js to prevent repetition.

To test, confirm that transformation to uppercase is working on the
following Administration pages when text is entered in a form field and
focus is moved to the next field:

- Authority types -> New: Test the "Authority type" field.
- MARC bibliographic framework -> New framework: Test the "Framework
  code" field.
- Patron types and categories -> New category: Test the "Category code"
  field.
- Currencies and exchange rates -> New currency: Test the "Currency"
  field.
- Item types -> New item type: Test the "Item type" field.
- Z39.50 client targets -> New Z39.50 server: Test the "Z39.50 server"
  field.

The following pages do not call the toUC function despite the fact that
they included it:

auth_tag_structure.tt
printers.tt
roadtype.tt
stopwords.tt
systempreferences.tt

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list