mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-24 16:17:29 +09:00
Issue #2790 - Cleanup: Remove whitespaces
This commit is contained in:
parent
459ed6ea85
commit
70cbf0dfd3
2 changed files with 1 additions and 5 deletions
|
|
@ -235,9 +235,7 @@ FormHandler.prototype = {
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
autofillFormFields: function (aAutofillResult) {
|
autofillFormFields: function (aAutofillResult) {
|
||||||
|
|
||||||
for (let field of aAutofillResult.fields) {
|
for (let field of aAutofillResult.fields) {
|
||||||
|
|
||||||
// Get the field details, if it was processed by the user interface.
|
// Get the field details, if it was processed by the user interface.
|
||||||
let fieldDetail = this.fieldDetails
|
let fieldDetail = this.fieldDetails
|
||||||
.find(f => f.section == field.section &&
|
.find(f => f.section == field.section &&
|
||||||
|
|
@ -249,8 +247,6 @@ FormHandler.prototype = {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
fieldDetail.element.value = field.value;
|
fieldDetail.element.value = field.value;
|
||||||
|
|
||||||
|
|
||||||
if (typeof fieldDetail.element.setAutofilled === 'function') {
|
if (typeof fieldDetail.element.setAutofilled === 'function') {
|
||||||
fieldDetail.element.setAutofilled(!!field.value);
|
fieldDetail.element.setAutofilled(!!field.value);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue