Skip to content

Commit f7bac6f

Browse files
committedMar 4, 2018
Remove the 'alt' attribute from date inputs
Date format handling is replaced by localStorage. Also, ensure that the size and maxlength attribute values are consistent with the date fields.
1 parent 63f2058 commit f7bac6f

File tree

78 files changed

+141
-143
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+141
-143
lines changed
 

‎AddCustomerNotes.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@
213213
echo '<tr>
214214
<td>' . _('Date') . '</td>';
215215
if (isset($_POST['NoteDate'])) {
216-
echo '<td><input type="text" required name="NoteDate" class="date" alt="' .$_SESSION['DefaultDateFormat']. '" id="datepicker" value="'.ConvertSQLDate($_POST['NoteDate']).'" size="10" maxlength="10" /></td>
216+
echo '<td><input type="text" required name="NoteDate" class="date" value="'.ConvertSQLDate($_POST['NoteDate']).'" size="11" maxlength="10" /></td>
217217
</tr>';
218218
} else {
219-
echo '<td><input type="text" required name="NoteDate" class="date" alt="' .$_SESSION['DefaultDateFormat']. '" id="datepicker" size="10" maxlength="10" /></td>
219+
echo '<td><input type="text" required name="NoteDate" class="date" size="11" maxlength="10" /></td>
220220
</tr>';
221221
}
222222
echo '<tr>

‎AddCustomerTypeNotes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
</tr>
202202
<tr>
203203
<td>' . _('Date').':</td>
204-
<td><input type="text" required="required" name="NoteDate" class="date" alt="'.$_SESSION['DefaultDateFormat'].'" value="'. $_POST['NoteDate']. '" size="10" maxlength="10" /></td>
204+
<td><input type="text" required="required" name="NoteDate" class="date" value="'. $_POST['NoteDate']. '" size="11" maxlength="10" /></td>
205205
</tr>
206206
<tr>
207207
<td>' . _('Priority').':</td>

0 commit comments

Comments
 (0)