Bug 8166 - Adding new currencies & exchange rates

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.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 42dbe025d9)
This commit is contained in:
Amit Gupta 2012-05-30 12:37:33 +05:30 committed by Jared Camins-Esakov
parent cdd02693ae
commit 80e2b59231
1 changed files with 1 additions and 1 deletions

View File

@ -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>