[wp-trac] [WordPress Trac] #19189: Upload Thickbox fading issue

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 8 23:23:42 UTC 2011


#19189: Upload Thickbox fading issue
----------------------------+------------------------
 Reporter:  ocean90         |       Owner:
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.3
 Severity:  major           |  Resolution:
 Keywords:  needs-patch     |
----------------------------+------------------------

Comment (by duck_):

 This is caused by .trigger("unload") in tb_remove(). The unload event is
 bubbled up to window causing the post lock code to fire. Using plain
 window.addEventListener instead of jQuery's .unload() in autosave.js fixed
 this for me in testing, but I don't know much about the cross browser
 implications of this.

 I'm not really sure why, but our callback being fired twice only occurs
 twice since jQuery 1.7 (bug?) which is why nacin noticed that it was made
 worse.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19189#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list