Bugzilla – Attachment 49310 Details for
Bug 16099
Make name required field when creating subscription field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 16099: Make name required field when creating subscription field
SIGNED-OFF-Bug-16099-Make-name-required-field-when.patch (text/plain), 1.49 KB, created by
Owen Leonard
on 2016-03-18 12:12:36 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16099: Make name required field when creating subscription field
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-03-18 12:12:36 UTC
Size:
1.49 KB
patch
obsolete
>From 037b246fbd6e5f2bad03e5fb41966d263112a85b Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Fri, 18 Mar 2016 00:02:20 +0000 >Subject: [PATCH] [SIGNED-OFF] Bug 16099: Make name required field when > creating subscription field >Content-Type: text/plain; charset="utf-8" > >To test: >1) Notice behaviour when adding subcription field (Serials) without a > name >2) Apply patch >3) Attempt to create subscription field without a name and click Save >4) Notice that you not cannot submit the form without adding the name > >Sponsored-by: Catalyst IT >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt >index a7f847b..7717f2c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt >@@ -126,7 +126,8 @@ > <ol> > <li> > <label for="name" class="required">Name: </label> >- <input type="text" name="name" id="name" value="[% field.name | html %]" /> >+ <input type="text" name="name" id="name" value="[% field.name | html %]" class="required" required="required" /> >+ <span class="required">Required</span> > </li> > <li> > <label for="av">Authorised value category: </label> >-- >2.1.4
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 16099
:
49294
|
49310
|
49347