Tiny patch that make sures that the dialog is available before trying to load content into it. There is a problem is the dialog window is closed while it is still loading, Drupal.CTools.AJAX.commands.dialog_display() will still fire and it will try to put html into an element that no longer exists on the page. This patch checks if the dialog is still available before doing anything.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | dialog_834474.patch | 2.31 KB | drewish |
| #2 | dialog_834474.patch | 2.17 KB | drewish |
| dialog_loading.patch | 1.56 KB | tayzlor |
Comments
Comment #1
tayzlor commentedComment #2
drewish commentedRe-rolled.
Comment #3
drewish commentedCommitted the attached to 6.x. Kicking it over to 7.x for review.
Comment #4
devin carlson commentedThe 7.x-1.x branch of the Dialog module is unsupported.