Skip to content

Commit

Permalink
fix(targetticket,targetchange): make name mandatory browser side
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed May 13, 2020
1 parent 73cf8db commit 2e81497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2399,7 +2399,7 @@ public function showAddTargetForm() {

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

0 comments on commit 2e81497

Please sign in to comment.