HTML customizations and news will not display without a publication date, so we should make it required. This patch adds client-side validation of the field to check that it's filled. To test, apply the patch and go to Tools -> News (or HTML customizations, or Pages). - Click "New entry" - Try to submit this new entry without entering a publication date. - You should be prevented from submitting the form. - Fill in the publication date and confirm that the form submits correctly. Sponsored-by: Athens County Public Libraries Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit |
||
|---|---|---|
| .. | ||
| intranet-tmpl | ||
| opac-tmpl | ||