Bugzilla – Attachment 49294 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]
Bug 16099: Make name required field when creating subscription field
Bug-16099-Make-name-required-field-when-creating-s.patch (text/plain), 1.39 KB, created by
Aleisha Amohia
on 2016-03-18 00:06:06 UTC
(
hide
)
Description:
Bug 16099: Make name required field when creating subscription field
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-03-18 00:06:06 UTC
Size:
1.39 KB
patch
obsolete
>From adef9c9e1a22567ad239539a80ea93940b1719f3 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Fri, 18 Mar 2016 00:02:20 +0000 >Subject: [PATCH] Bug 16099: Make name required field when creating > subscription field > >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 >--- > 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> >-- >1.7.10.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