Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Owen Leonard 3c7edd1cbe 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

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
tools/letter.tt declares this js function and don't use it.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-02-18 20:49:30 +00:00
..
preferences Bug 10907: Optionally show the staff member's name who managed a suggestion in OPAC 2014-01-23 18:23:25 +00:00
searchengine/solr Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
admin-home.tt Bug 8015: Add MARC Modifications Templates 2013-10-31 22:47:08 +00:00
aqbudget_user_search.tt
aqbudgetperiods.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
aqbudgets.tt Bug 9822: Alert on adding an order to a basket if budget s exceeded 2013-10-30 15:10:11 +00:00
aqcontract.tt Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
aqplan.tt Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
auth_subfields_structure.tt Bug 10602: Set default value for authority fields via the framework 2013-10-10 23:25:47 +00:00
auth_tag_structure.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
authorised_values.tt Bug 11616: remove jQuery tablesorter plugin 2014-01-31 15:24:01 +00:00
authtypes.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
biblio_framework.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
branch_transfer_limits.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
branches.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
categorie.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
checkmarc.tt Bug 10420 - Standardize spelling of "authorized" 2013-06-07 08:26:13 -07:00
cities.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
classsources.tt Bug 9631 - Replace YUI buttons on classification sources administration page with Bootstrap 2013-02-18 08:50:22 -05:00
clone-rules.tt
currency.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
didyoumean.tt Bug 8726: Followup FIX save didyoumean syspref 2012-09-28 17:14:17 +02:00
fieldmapping.tt Bug 6037 [Follow-up] Invalid markup, missing breadcrumbs on Keyword to MARC Mapping page 2012-10-08 17:11:12 +02:00
item_circulation_alerts.tt Bug 8942: Translation process breaks javascript 2013-01-31 11:00:24 -05:00
itemtypes.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
koha2marclinks.tt
marc_subfields_structure.tt Bug 8018: (follow-up) fixing some wrong capitalization 2013-12-27 00:35:50 +00:00
marctagstructure.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
matching-rules.tt Bug 9640 - Replace YUI button on record matching rules page with Bootstrap 2013-02-18 09:04:46 -05:00
oai_set_mappings.tt Bug 9295: Introduce operator equal/ notequal to OAI set mapping instead of hardcoded 'equal' value. 2013-10-10 23:03:30 +00:00
oai_sets.tt Bug 9689 - Replace YUI buttons on the OAI sets administration page with Bootstrap 2013-03-07 10:16:36 -05:00
patron-attr-types.tt Bug 10420 - Standardize spelling of "authorized" 2013-06-07 08:26:13 -07:00
preferences.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
printers.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
roadtype.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
smart-rules.tt Bug 9818: Fixing capitalization and remove dollar sign 2013-04-25 21:53:40 -04:00
stopwords.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
systempreferences.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
transport-cost-matrix.tt Bug 8935 - transport cost matrix could be prettier 2012-10-22 17:51:11 +02:00
z3950servers.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00