[wp-trac] [WordPress Trac] #6883: Thickbox Should Not Close When
Clicked Outside Of Window
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 30 23:17:02 GMT 2008
#6883: Thickbox Should Not Close When Clicked Outside Of Window
--------------------------+-------------------------------------------------
Reporter: intoxination | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Keywords: thickbox uploader
--------------------------+-------------------------------------------------
When you click on the overlay, Thickbox will close, which is the desirable
function of Thickbox. This should be prevented while an upload is in
progress though. Perhaps adding:
{{{
jQuery("#TB_overlay").unbind("click",tb_remove);
}}}
When the upload starts and then once the upload finishes call:
{{{
jQuery("#TB_overlay").click(tb_remove);
}}}
Would be a good working method to fix this. Of course the uploader iFrame
would have to call this method from the opener window, since Thickbox is
instanced from there.
--
Ticket URL: <http://trac.wordpress.org/ticket/6883>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list