Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Comment typo

Michael Shamoon2c9825193b33
diff --git a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts
index 135b5a137..3faf18dbb 100644
--- a/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts
+++ b/src-ui/src/app/components/common/edit-dialog/edit-dialog.component.ts
@@ -40,7 +40,7 @@ export abstract class EditDialogComponent<T extends ObjectWithId> implements OnI
this.objectForm.patchValue(this.object)
}
- // we wait to enable the close button so it doesnt pull browser focus since its the first clickable element in the DOM
+ // wait to enable close button so it doesnt steal focus from input since its the first clickable element in the DOM
setTimeout(() => {
this.closeEnabled = true
});
diff --git a/src-ui/src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.ts b/src-ui/src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.ts
index 57de978aa..4f70941dd 100644
--- a/src-ui/src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.ts
+++ b/src-ui/src/app/components/document-list/save-view-config-dialog/save-view-config-dialog.component.ts
@@ -41,7 +41,7 @@ export class SaveViewConfigDialogComponent implements OnInit {
})
ngOnInit(): void {
- // wait to enable close button so it doesnt steal focus form input
+ // wait to enable close button so it doesnt steal focus from input since its the first clickable element in the DOM
setTimeout(() => {
this.closeEnabled = true
});