Bugzilla – Attachment 3611 Details for
Bug 5624
neworder empty missing validation on mandatory field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch signed-off
0001-Adding-a-javascript-function-to-check-the-validation.patch (text/plain), 1.05 KB, created by
Paul Poulain
on 2011-04-04 10:02:08 UTC
(
hide
)
Description:
patch signed-off
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-04-04 10:02:08 UTC
Size:
1.05 KB
patch
obsolete
>From bbb565309714e433814263f7cab635a8cfc85281 Mon Sep 17 00:00:00 2001 >From: koha-preprod <koha-preprod@sys-tech.net> >Date: Mon, 7 Feb 2011 11:12:49 -0500 >Subject: [PATCH] [SIGNED-OFF] Adding a javascript function to check the validation of a record with a budget. > > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > .../prog/en/modules/acqui/neworderempty.tmpl | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >index 76f5a3f..410ddd2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >@@ -18,6 +18,11 @@ function Check(ff) { > ok=1; > _alertString += "\n- " + _("Title cannot be empty"); > } >+ >+ if(isNull(ff.budget_id,1)){ >+ ok=1; >+ _alertString += "\n- "+ _("You must select a budget"); >+ } > > if (!(isNum(ff.quantity,0))){ > ok=1; >-- >1.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5624
:
3000
|
3081
| 3611