Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
012f8b72
Commit
012f8b72
authored
May 09, 2011
by
Francois Marier
Committed by
Gerrit Code Review
May 09, 2011
Browse files
Merge "Fix js error when changing your own username (bug #779694)"
parents
8dbc7357
2af7aaf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/account/index.php
View file @
012f8b72
...
...
@@ -314,7 +314,9 @@ function clearPasswords(form, data) {
}
if (data.username) {
var username = getFirstElementByTagAndClassName('a', null, 'profile-sideblock-username');
replaceChildNodes(username, data.username);
if (username) {
replaceChildNodes(username, data.username);
}
}
}
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment