@@ -, +, @@ templates - Choose "New authority type." - Enter any text into the "Authority type" field. - Moving the cursor focus away from this field should convert your text to uppercase. - Choose "New framework." - Enter any text into the "Framework code" field. - Moving the cursor focus away from this field should convert your text to uppercase. - Choose "New currency." - Enter any text into the "Currency" field. - Moving the cursor focus away from this field should convert your text to uppercase. - Choose "New item type." - Enter any text into the "Item type" field. - Moving the cursor focus away from this field should convert your text to uppercase. --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt | 5 ++++- koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 5 ++++- koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 5 ++++- koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js | 5 ++++- 5 files changed, 17 insertions(+), 5 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt @@ -18,6 +18,9 @@ ], "sPaginationType": "four_button" })); + $("#authtypecode").on("blur",function(){ + toUC(this); + }); }); //]]> @@ -85,7 +88,7 @@ [% authority_type.authtypecode %] [% ELSE %] - + Required [% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt @@ -86,7 +86,7 @@ [% ELSE %]
  • - + Required
  • [% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt @@ -38,6 +38,9 @@ check_currency( $(this).val() ); }); check_currency( $("#rate").val() ); + $("#currency_code").on("blur",function(){ + toUC(this); + }); }); //]]> @@ -108,7 +111,7 @@ [% currency.currency %] [% ELSE %] - Required + Required [% END %]
  • --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -43,6 +43,9 @@ Data deleted rentalcharge: { number: true } } }); + $("#itemtype").on("blur",function(){ + toUC(this); + }); }); //]]> @@ -134,7 +137,7 @@ Item types administration [% ELSE %]
  • - Required + Required
  • [% END %]
  • --- a/koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js +++ a/koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js @@ -73,4 +73,7 @@ obj.css("background-color","white"); return false; }); - }); + $("#frameworkcode").on("blur",function(){ + toUC(this); + }); + }); --