Skip to content

Commit 2e81497

Browse files
committed
fix(targetticket,targetchange): make name mandatory browser side
Signed-off-by: Thierry Bugier <[email protected]>
1 parent 73cf8db commit 2e81497

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
@@ -2399,7 +2399,7 @@ public function showAddTargetForm() {
23992399

24002400
echo '<tr class="line1">';
24012401
echo '<td width="15%"><strong>'.__('Name').' <span style="color:red;">*</span></strong></td>';
2402-
echo '<td width="40%"><input type="text" name="name" style="width:100%;" value="" /></td>';
2402+
echo '<td width="40%"><input type="text" name="name" style="width:100%;" value="" required="required"/></td>';
24032403
echo '<td width="15%"><strong>'._n('Type', 'Types', 1).' <span style="color:red;">*</span></strong></td>';
24042404
echo '<td width="30%">';
24052405
$targetTypes = [];

0 commit comments

Comments
 (0)