Skip to content

Commit 93ef349

Browse files
committed
fix(targetticket,targetchange): make name mandatory browser side
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent ef0178d commit 93ef349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/form.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2437,7 +2437,7 @@ public function showAddTargetForm() {
24372437

24382438
echo '<tr class="line1">';
24392439
echo '<td width="15%"><strong>'.__('Name').' <span style="color:red;">*</span></strong></td>';
2440-
echo '<td width="40%"><input type="text" name="name" style="width:100%;" value="" /></td>';
2440+
echo '<td width="40%"><input type="text" name="name" style="width:100%;" value="" required="required"/></td>';
24412441
echo '<td width="15%"><strong>'._n('Type', 'Types', 1).' <span style="color:red;">*</span></strong></td>';
24422442
echo '<td width="30%">';
24432443
$targetTypes = [];

0 commit comments

Comments
 (0)