[wp-trac] [WordPress Trac] #44790: Attachment Overlay does not trigger spinner for compat fields

WordPress Trac noreply at wordpress.org
Tue Aug 14 08:03:53 UTC 2018


#44790: Attachment Overlay does not trigger spinner for compat fields
--------------------------------------------+-----------------------------
 Reporter:  hjanuschka                      |      Owner:  (none)
     Type:  defect (bug)                    |     Status:  new
 Priority:  normal                          |  Milestone:  Awaiting Review
Component:  Media                           |    Version:  trunk
 Severity:  normal                          |   Keywords:  has-patch
  Focuses:  ui, javascript, administration  |
--------------------------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44790>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list