Skip to content
Snippets Groups Projects
Commit 1de293a7 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #321 from greezybacon/issue/318


ui: Remove autocorrect from the user lookup dialog

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 218e6aa4 5137e00d
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,8 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
Username
</td>
<td>
<input type="text" size="35" name="userid" value="<?php echo $info['userid']; ?>">
<input type="text" size="35" name="userid" value="<?php echo $info['userid']; ?>"
autocomplete="off" autocorrect="off">
&nbsp;<span class="error">&nbsp;<?php echo $errors['userid']; ?>&nbsp;</span>
</td>
</tr>
......@@ -132,7 +133,8 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
Password
</td>
<td>
<input type="password" size="35" name="passwd" value="<?php echo $info['passwd']; ?>">
<input type="password" size="35" name="passwd" value="<?php echo $info['passwd']; ?>"
autocomplete="off">
&nbsp;<span class="error">&nbsp;<?php echo $errors['passwd']; ?>&nbsp;</span>
<br><em><?php echo $passwdtxt; ?></em>
</td>
......
......@@ -3,7 +3,7 @@
<b><a class="close" href="#"><i class="icon-remove-circle"></i></a></b>
<hr/>
<div><p id="msg_info"><i class="icon-info-sign"></i>&nbsp; Search existing users or add a new user.</p></div>
<div style="margin-bottom:10px;"><input type="text" class="search-input" style="width:100%;" placeholder="Search by email, phone or name" id="user-search"/></div>
<div style="margin-bottom:10px;"><input type="text" class="search-input" style="width:100%;" placeholder="Search by email, phone or name" id="user-search" autocorrect="off" autocomplete="off"/></div>
<?php
if ($info['error']) {
echo sprintf('<p id="msg_error">%s</p>', $info['error']);
......
......@@ -62,7 +62,8 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
<td width="160" class="required"> Email Address: </td>
<td>
<span style="display:inline-block;">
<input type="text" size=45 name="email" id="user-email" value="<?php echo $info['email']; ?>" /> </span>
<input type="text" size=45 name="email" id="user-email"
autocomplete="off" autocorrect="off" value="<?php echo $info['email']; ?>" /> </span>
<font class="error">* <?php echo $errors['email']; ?></font>
</td>
</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment