[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1440-g972f602
Marc-Etienne VARGENAU
vargenau at libremir.placard.fr.eu.org
Mon Feb 13 11:54:31 CET 2017
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, master has been updated
via 972f6021f522b9cbaa3aefa247761508f04fb72d (commit)
from cebaa5ba44f3110aef8c9012a30fce4d75d72aa8 (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=972f6021f522b9cbaa3aefa247761508f04fb72d
commit 972f6021f522b9cbaa3aefa247761508f04fb72d
Author: Marc-Etienne Vargenau <marc-etienne.vargenau at nokia.com>
Date: Mon Feb 13 11:54:27 2017 +0100
Element name is required; add empty cell
diff --git a/src/common/tracker/views/form-addextrafieldoption.php b/src/common/tracker/views/form-addextrafieldoption.php
index 40ed4b1..d6f7a1c 100644
--- a/src/common/tracker/views/form-addextrafieldoption.php
+++ b/src/common/tracker/views/form-addextrafieldoption.php
@@ -167,6 +167,7 @@ if (!$ac || !is_object($ac)) {
$content = html_e('input', array('type'=>'submit', 'name'=>'post_changes_default', 'value'=>_('Update default')));
$cells[] = array($content, 'class'=>'align-center');
}
+ $cells[] = array('');
echo $HTML->multiTableRow($row_attrs, $cells);
echo $HTML->listTableBottom();
echo $HTML->closeForm();
@@ -177,7 +178,7 @@ if (!$ac || !is_object($ac)) {
echo $HTML->openForm(array('action' => '/tracker/admin/?group_id='.$group_id.'&boxid='.$boxid.'&atid='.$ath->getID(), 'method' => 'post'));
echo html_e('input', array('type'=>'hidden', 'name'=>'add_opt', 'value'=>'y'));
echo html_e('label', array('for'=>'name'),html_e('strong', array(), _('Add New Element')._(':')));
- echo html_e('input', array('type'=>'text', 'id'=>'name', 'name'=>'name', 'value'=>'', 'size'=>'15', 'maxlength'=>'30'));
+ echo html_e('input', array('type'=>'text', 'id'=>'name', 'name'=>'name', 'value'=>'', 'size'=>'15', 'maxlength'=>'30', 'required'=>'required'));
// Show a pop-up box to choose the possible statuses that this element will map to
if ($efType == ARTIFACT_EXTRAFIELDTYPE_STATUS) {
echo html_e('strong', array(), _('Status'));
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/views/form-addextrafieldoption.php | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
More information about the Fusionforge-commits
mailing list