Skip to content

Commit

Permalink
Fixed bug where user couldn't delete account because loginDOUser elem…
Browse files Browse the repository at this point in the history
…ent isn't set, causing script to crash.
  • Loading branch information
Hu Lab committed Jun 29, 2012
1 parent 817ac45 commit 733a033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/js/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ function edit_details(details) {
$('loginWarning').show();
$('loginDCancel').value = Controller.translate('NO');
$('loginDSubmit').value = Controller.translate('YES');
$('loginDOUser').value = CurrentUser;
if ($('loginDOUser') != undefined) { $('loginDOUser').value = CurrentUser; }
EditDetails = 'delete';
return;
case 'delete-confirm':
Expand Down

0 comments on commit 733a033

Please sign in to comment.