[dw-free] email field name in "Invite a friend" page interferes with form autocompletion.
[commit: http://hg.dwscoalition.org/dw-free/rev/bc6a36a9d18d]
http://bugs.dwscoalition.org/show_bug.cgi?id=1191
No autocomplete for this email field.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1191
No autocomplete for this email field.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/manage/circle/invite.bml
-------------------------------------------------------------------------------- diff -r 644aeab25fff -r bc6a36a9d18d htdocs/manage/circle/invite.bml --- a/htdocs/manage/circle/invite.bml Mon Jun 08 13:54:30 2009 +0000 +++ b/htdocs/manage/circle/invite.bml Mon Jun 08 14:05:33 2009 +0000 @@ -197,7 +197,7 @@ $body .= "<div style='margin: 20px 0 20px 20px;'>"; $body .= "<label for='email'>$ML{'.form.input.email'}</label> "; - $body .= LJ::html_text({ name => "email", id => "email", class => 'text', value => $email }) . " "; + $body .= LJ::html_text({ name => "email", id => "email", class => 'text', autocomplete => 'off', value => $email }) . " "; $body .= LJ::html_submit($ML{'.btn.invite2'}); if ($inerr->("email")) { $body .= "<br />" . $inerr->("email"); --------------------------------------------------------------------------------