After upgrading from 3.0.2 to 3.5.1, the "cancel" button in the image upload dialog no longer works in Firefox on Mac when the document.domain is set.
To reproduce:
1. click on the image button
2. click on the "upload" tab
3. click on "browse"
4. select a file and click OK
5. click "Send it to the server"
6. click on cancel
In 3.0.2 the dialog goes away, in 3.5.1 nothing happens (FF on Mac, OK in IE8). The second time the image button is pressed, the page greys out, but the dialog doesn't appear (OK in 3.0.2). In both cases, no errors are reported in the Firebug console.
To reproduce:
1. click on the image button
2. click on the "upload" tab
3. click on "browse"
4. select a file and click OK
5. click "Send it to the server"
6. click on cancel
In 3.0.2 the dialog goes away, in 3.5.1 nothing happens (FF on Mac, OK in IE8). The second time the image button is pressed, the page greys out, but the dialog doesn't appear (OK in 3.0.2). In both cases, no errors are reported in the Firebug console.