If the toolbar is open, and the content of $context changes (eg: the content is being replaced), then the behaviors are improperly detached as $context has changed during the setTimeout and the script cannot find the right fields & entities to remove from this new context

Comments

vdsh created an issue. See original summary.

  • vdsh committed 8c6e8dc on 1.0.x
    Issue #3196930: Detach behaviors can fail if $context changes and the...
vdsh’s picture

Status: Active » Fixed

Fixed by queuing the elements which need to be deleted and not relying on $context.

vdsh’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.