From 681c7633e549485106dd1840a0d0370376babe5b Mon Sep 17 00:00:00 2001
From: SecretR <secretr@e107.org>
Date: Sun, 5 May 2013 20:27:16 +0300
Subject: [PATCH] Issue #211: Click drop down in prefences triggers submit?

---
 e107_admin/prefs.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/e107_admin/prefs.php b/e107_admin/prefs.php
index 6c114f127..5e8245aeb 100644
--- a/e107_admin/prefs.php
+++ b/e107_admin/prefs.php
@@ -424,21 +424,21 @@ $text .= "<fieldset class='e-hideme' id='core-prefs-email'>
 			<tr>
 				<td>".LAN_MAILOUT_87.":&nbsp;&nbsp;</td>
 				<td>
-				<input class='tbox' type='text' name='smtp_server' size='40' value='".vartrue($pref['smtp_server'])."' maxlength='50' />
+				<input class='tbox' type='text' name='smtp_server' size='40' value='".vartrue($pref['smtp_server'])."' maxlength='50' autocomplete='off' />
 				</td>
 			</tr>
 	
 			<tr>
 				<td>".LAN_MAILOUT_88.":&nbsp;(".LAN_OPTIONAL.")&nbsp;&nbsp;</td>
 				<td style='width:50%;' >
-				<input class='tbox' type='text' name='smtp_username' size='40' value=\"".vartrue($pref['smtp_username'])."\" maxlength='50' />
+				<input class='tbox' type='text' name='smtp_username' size='40' value=\"".vartrue($pref['smtp_username'])."\" maxlength='50' autocomplete='off' />
 				</td>
 			</tr>
 	
 			<tr>
 				<td>".LAN_MAILOUT_89.":&nbsp;(".LAN_OPTIONAL.")&nbsp;&nbsp;</td>
 				<td>
-				<input class='tbox' type='password' name='smtp_password' size='40' value='".vartrue($pref['smtp_password'])."' maxlength='50' />
+				<input class='tbox' type='password' name='smtp_password' size='40' value='".vartrue($pref['smtp_password'])."' maxlength='50' autocomplete='off' />
 				</td>
 			</tr>