From e635f0c5b4a19b8f32787d37fd4e438812ef72f9 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 15 Oct 2016 16:27:52 +0200 Subject: [PATCH] Improved usability in lost password form --- wcfsetup/install/files/js/WCF.User.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/js/WCF.User.js b/wcfsetup/install/files/js/WCF.User.js index ea96f1dace..bac8b6a67d 100644 --- a/wcfsetup/install/files/js/WCF.User.js +++ b/wcfsetup/install/files/js/WCF.User.js @@ -1489,6 +1489,7 @@ WCF.User.Registration.LostPassword = Class.extend({ else { this._username.disable(); this._username.parents('dl:eq(0)').addClass('disabled'); + this._username.val(''); } }, @@ -1503,6 +1504,7 @@ WCF.User.Registration.LostPassword = Class.extend({ else { this._email.disable(); this._email.parents('dl:eq(0)').addClass('disabled'); + this._email.val(''); } } }); -- 2.20.1