Opened 12 years ago
Closed 12 years ago
#21707 closed defect (bug) (fixed)
Theme Customizer: Javascript errors in Internet Explorer are blocking live previews from displaying
Reported by: | designsimply | Owned by: | koopersmith |
---|---|---|---|
Milestone: | 3.4.2 | Priority: | high |
Severity: | blocker | Version: | |
Component: | Customize | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Steps to reproduce:
- Install r21383 or later.
- Go to Appearance → Themes and click Customize.
- Expected: to see customizer panels on the left and a live preview on the right.
- Actual: the live previews are always blank in IE9 and the following Javascript error appears in the console:
SCRIPT5007: Unable to get value of the property ‘detach’: object is null or undefined customize-controls.js?ver=3.5-alpha-21589, line 194 character 6
Attachments (1)
Change History (7)
#1
@
12 years ago
- Milestone changed from Awaiting Review to 3.4.2
- Owner set to koopersmith
- Priority changed from normal to high
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
To reproduce, select a theme with custom header support (e.g. Twenty Eleven).
"Upload New" tab was removed in [21383], however the uploader is still initialized in that control.
IE doesn't pass the drag-and-drop check in line 187 and fails in line 194:
http://core.trac.wordpress.org/browser/trunk/wp-admin/js/customize-controls.js?rev=21592#L183
21707.patch only initializes the uploader if "Upload New" tab exists.