Opened 15 years ago
Closed 15 years ago
#17329 closed defect (bug) (fixed)
Inline media uploader broken
| Reported by: | greuben | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | General | Version: | |
| Severity: | major | Keywords: | needs-testing |
| Cc: | Focuses: |
Description
Using FF4, on add new posts screen click on "Add an image" meida button, the "select files" button is missing and there's a javascript error.
c.defaultView.getComputedStyle(a, null) is null
The button appears if I reload the media uploader iframe
Attachments (2)
Change History (13)
#2
follow-up:
↓ 3
@
15 years ago
If we init the JS later, perhaps at body.onload instead of document.ready, would it bypass that bug?
#3
in reply to: ↑ 2
@
15 years ago
Replying to azaozz:
If we init the JS later, perhaps at body.onload instead of document.ready, would it bypass that bug?
Tried it, no change.
A silly hack to bypass this bug would be changing display: none to visibility: hidden. See 17329.diff
#5
@
15 years ago
The js error is fixed in jQuery 1.6.1rc1 but the "Select files" button is still not displayed with jQuery 1.6.1rc1
#6
follow-up:
↓ 7
@
15 years ago
Seems fixed in FF 4.0.1, all thickbox popups with iframes work properly even with jQuery 1.5.2.
#7
in reply to: ↑ 6
@
15 years ago
Replying to azaozz:
Seems fixed in FF 4.0.1, all thickbox popups with iframes work properly even with jQuery 1.5.2.
I'm using FF 4.0.1(Ubuntu), the problem still exists.
#9
@
15 years ago
- Keywords needs-testing added
A little less creepy hack is to use negative offsets instead of display: none. See 17329.2.diff
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related jQuery bug: http://bugs.jquery.com/ticket/8763