mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fixhancement: dispatch change event from current field prior to save (#8369)
This commit is contained in:
parent
455c54791c
commit
e81b1ee450
@ -721,6 +721,7 @@ export class DocumentDetailComponent
|
|||||||
|
|
||||||
save(close: boolean = false) {
|
save(close: boolean = false) {
|
||||||
this.networkActive = true
|
this.networkActive = true
|
||||||
|
;(document.activeElement as HTMLElement)?.dispatchEvent(new Event('change'))
|
||||||
this.documentsService
|
this.documentsService
|
||||||
.update(this.document)
|
.update(this.document)
|
||||||
.pipe(first())
|
.pipe(first())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user