mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 499649: trivial followup to remove temporary dump() logging.
This commit is contained in:
parent
cb3ad1023c
commit
34772eae63
@ -705,12 +705,10 @@ var LoginManagerContent = {
|
||||
// Don't replace the username if it differs only in case, and the user triggered
|
||||
// this autocomplete. We assume that if it was user-triggered the entered text
|
||||
// is desired.
|
||||
dump("field value: " + usernameField.value + "\n");
|
||||
dump("selectedLogin value: " + selectedLogin.username + "\n");
|
||||
let userEnteredDifferentCase = userTriggered &&
|
||||
(usernameField.value != selectedLogin.username &&
|
||||
usernameField.value.toLowerCase() == selectedLogin.username.toLowerCase());
|
||||
|
||||
|
||||
if (!disabledOrReadOnly && !userEnteredDifferentCase) {
|
||||
usernameField.setUserInput(selectedLogin.username);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user