Skip to content

Commit b283f9c

Browse files
committed
- Re-enabled "Remember Password"- function on login screen.
1 parent 42f8223 commit b283f9c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

interface/web/login/templates/index.htm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,7 @@ <h2><tmpl_var name="login_txt"></h2>
3939
</div>
4040
</div>
4141

42-
</div>
42+
</div>
43+
<script language="JavaScript" type="text/javascript">
44+
$('#username').closest('form').attr('autocomplete','on');
45+
</script>

interface/web/themes/blue/templates/main.tpl.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
jQuery(document).ready(function() {
2323
loadInitContent();
2424

25-
$('form').attr('autocomplete','off');
25+
$('form').not('#dummy_login_form').attr('autocomplete','off');
2626

2727
$("#pageForm").submit(function(e){
2828
//Prevent form submit: e.preventDefault() in lists

interface/web/themes/default/templates/main.tpl.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
jQuery(document).ready(function() {
2323
loadInitContent();
2424

25-
$('form').attr('autocomplete','off');
25+
$('form').not('#dummy_login_form').attr('autocomplete','off');
2626

2727
$("#pageForm").submit(function(e){
2828
//Prevent form submit: e.preventDefault() in lists

0 commit comments

Comments
 (0)