Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed focus as too much trouble. MDL-6750

  • Loading branch information...
commit 2c669a7383b1fedc1604199705ff3992ec093c43 1 parent ca72bce
moodler authored
Showing with 1 addition and 7 deletions.
  1. +1 −7 login/change_password.php
View
8 login/change_password.php
@@ -103,12 +103,6 @@
$frm->username = $USER->username;
}
- if (!empty($frm->username)) {
- $focus = 'form.password';
- } else {
- $focus = 'form.username';
- }
-
$strchangepassword = get_string('changepassword');
$fullname = fullname($USER, true);
@@ -120,7 +114,7 @@
}
$navstr .= "<a href=\"$CFG->wwwroot/user/index.php?id=$course->id\">".get_string('participants')."</a> -> <a href=\"$CFG->wwwroot/user/view.php?id=$USER->id&amp;course=$course->id\">$fullname</a> -> $strchangepassword";
- print_header($strchangepassword, $strchangepassword, $navstr, $focus);
+ print_header($strchangepassword, $strchangepassword, $navstr);
print_simple_box_start('center');
include('change_password_form.html');
Please sign in to comment.
Something went wrong with that request. Please try again.