Opened 7 years ago
Closed 8 weeks ago
#44790 closed defect (bug) (worksforme)
Attachment Overlay does not trigger spinner for compat fields
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch needs-testing needs-refresh close |
Focuses: | ui, javascript, administration | Cc: |
Description
we are using ACF and some other custom fields in the attachment library, when we change values of those "compat" fields - the spinner/loader does not show up, which leads to the situation that the editor/user, may think everything is saved, and clicks assign/close to the overlay, and behind the overlay he/she may click on publish, which in some situations cancels the XHR requests and leads to data loss.
i have prepared a patch, not 100% sure if it is in the right place, let me know if you'd want me to adopt/change anything.
Attachments (2)
Change History (9)
#3
@
6 years ago
- Keywords needs-testing added
- Milestone changed from Awaiting Review to 5.3
Hi @hjanuschka. Thanks for the report and for providing a patch. I'm going to move to the 5.3 milestone for testing/consideration.
This ticket was mentioned in Slack in #core by david.baumwald. View the logs.
5 years ago
#5
@
5 years ago
- Keywords needs-refresh added
- Milestone changed from 5.3 to Future Release
The latest patch fails against trunk, so it needs a refresh. Also, this would need testing and review. With Beta 1 of version 5.3 only a few days away, this is being moved to Future Release
. If this ticket can be resolved in time for 5.3, feel free to re-milestone.
#6
@
16 months ago
- Keywords close added
This appears to be working in the current trunk; can you confirm whether you're still seeing this issue, @hjanuschka? For now, I'm marking this for potential close, if it's already fixed.
#7
@
8 weeks ago
- Milestone Future Release deleted
- Resolution set to worksforme
- Status changed from new to closed
I also see this working, for now I am going to follow through and close this as the recommendation is there. We can always reopen if we get further steps on how to reproduce. Thank you everyone.
for whatever reason, the
this.controller.trigger( 'attachment:compat:ready'
andthis.controller.trigger( 'attachment:compat:waiting'
did not reach thethis.listenTo( this.controller, 'attachment:compat:waiting attachment:compat:ready', this.updateSave );
those i change dit to the
.on()
variation, i found somwhere else in the js codebase