This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, 6.1 has been updated
via 5302ac603ada497708f0c8c4d6dd2c089f11468c (commit)
from 3c6853cc679aa5e5cc4e91bfcb66a27926e67430 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=5302ac603ada497708f0c8c4d6dd2c089f11468c
commit 5302ac603ada497708f0c8c4d6dd2c089f11468c
Author: Franck Villaume <[email protected]>
Date: Thu May 10 18:31:51 2018 +0200
textarea: no pattern attribute. Use minlength
diff --git a/src/common/docman/views/addfile.php
b/src/common/docman/views/addfile.php
index 8378986..3d1d184 100644
--- a/src/common/docman/views/addfile.php
+++ b/src/common/docman/views/addfile.php
@@ -101,7 +101,7 @@ if ($dgf->getNested($stateidArr) == NULL) {
echo $HTML->multiTableRow(array(), $cells);
$cells = array();
$cells[][] = _('Description') .utils_requiredField();
- $cells[][] = html_e('textarea', array('pattern' => '.{10,}',
'placeholder' => _('Description').' '.sprintf(_('(at least %s characters)'),
DOCMAN__DESCRIPTION_MIN_SIZE), 'title' => _('Editing tips:http,https or ftp:
Hyperlinks. [#NNN]: Tracker id NNN. [TNNN]: Task id NNN.
[wiki:<pagename>]: Wiki page. [forum:<msg_id>]: Forum post. [DNNN]:
Document id NNN.'), 'name' => 'description', 'rows' => 5, 'cols' => 50,
'maxlength' => DOCMAN__DESCRIPTION_MAX_SIZE, 'required' => 'required'), '',
false);
+ $cells[][] = html_e('textarea', array('minlength' => 10, 'placeholder'
=> _('Description').' '.sprintf(_('(at least %s characters)'),
DOCMAN__DESCRIPTION_MIN_SIZE), 'title' => _('Editing tips:http,https or ftp:
Hyperlinks. [#NNN]: Tracker id NNN. [TNNN]: Task id NNN.
[wiki:<pagename>]: Wiki page. [forum:<msg_id>]: Forum post. [DNNN]:
Document id NNN.'), 'name' => 'description', 'rows' => 5, 'cols' => 50,
'maxlength' => DOCMAN__DESCRIPTION_MAX_SIZE, 'required' => 'required'), '',
false);
echo $HTML->multiTableRow(array(), $cells);
$cells = array();
$cells[][] = _('Comment');
-----------------------------------------------------------------------
Summary of changes:
src/common/docman/views/addfile.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits