Overview
| Comment: | ChromeOS: Accept the "Enter" key to click OK at the PIN prompt |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
b8c2cad6d9f4f95ec9e511353e2adb01 |
| User & Date: | rkeene on 2016-02-26 19:50:01 |
| Other Links: | manifest | tags |
Context
|
2016-02-26
| ||
| 19:55 | ChromeOS: Clean up console logs in non-debug builds check-in: d06273088d user: rkeene tags: trunk | |
| 19:50 | ChromeOS: Accept the "Enter" key to click OK at the PIN prompt check-in: b8c2cad6d9 user: rkeene tags: trunk | |
| 19:20 | ChromeOS: Dynamically compute the package version check-in: d1316cdccd user: rkeene tags: trunk | |
Changes
Modified build/chrome/pin.js from [6612ae670c] to [bd71cff546].
| ︙ | ︙ | |||
38 39 40 41 42 43 44 45 |
document.getElementById('pin').onblur = function() {
setTimeout(function() {
if (document.activeElement.className != "button") {
focusPin();
}
}, 1);
}
}, 1);
| > > > > > > > > > > > > > > > > > > | 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
document.getElementById('pin').onblur = function() {
setTimeout(function() {
if (document.activeElement.className != "button") {
focusPin();
}
}, 1);
}
document.getElementById('pin').onkeypress = function(keyEvent) {
if (!keyEvent) {
return(true);
}
if (!keyEvent.keyIdentifier) {
return(true);
}
if (keyEvent.keyIdentifier != "Enter") {
return(true);
}
clickOk();
return(false);
};
}, 1);
|