[Koha-patches] [PATCH] Bug 8166 - Adding new currencies & exchange rates

Amit Gupta amit.gupta at osslabs.biz
Wed May 30 09:14:23 CEST 2012


if not fill any field it save blank record

To Test:
1) Go to Currencies & Exchange rates.
2) Create New currency
3) If you not fill any field for ex: (Currency, rate, symbol)
   it will not save the record.
---
 .../prog/en/modules/admin/currency.tt              |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
index d2d0597..6a42f18 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
@@ -120,7 +120,7 @@
         </fieldset>
 
     <fieldset class="action">
-        <input type="submit" value="Submit" onclick="Check(this.form)" />
+        <input type="submit" value="Submit" onclick="Check(this.form); return false;" />
         <a href="/cgi-bin/koha/admin/currency.pl" class="cancel">Cancel</a>
     </fieldset>
     </form>
-- 
1.6.4.2



More information about the Koha-patches mailing list