MDL-35817 login: convert html tag to use html_writer and change <a> tag id to be more specific to login

This commit is contained in:
Rossiani Wijaya
2013-01-17 13:05:52 +08:00
parent 999a594039
commit 6b519ea6cc
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -858,7 +858,7 @@ M.util.focus_login_form = function(Y) {
* Set focus on login error message
*/
M.util.focus_login_error = function(Y) {
var errorlog = Y.one('#errormsg');
var errorlog = Y.one('#loginerrormessage');
if (errorlog) {
errorlog.focus();