[wp-trac] [WordPress Trac] #27485: Widget Customizer: WidgetCustomizerPreview is undefined in IE8/9
WordPress Trac
noreply at wordpress.org
Sat Mar 22 18:20:06 UTC 2014
#27485: Widget Customizer: WidgetCustomizerPreview is undefined in IE8/9
-------------------------------------+-------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.9
Component: Appearance | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-------------------------
Comment (by adamsilverstein):
[attachment:27485.2.patch] builds on [attachment:27485.patch] and
completes IE8 compatibility for the Widget Customizer by swapping
JavaScript indexOf (not supported for Arrays in IE8), instead using
Underscore's _.indexOf (which provides an IE8 fallback). Other than the
order of passed variables, nothing else changes between indexOf and
_.indexOf so I don't anticipate unexpected side effects.
After applying this patch I no longer see console errors and I amble to
add and remove widgets. One remaining IE8 issue is that when I click the
Save & Publish button although the settings '''are saved''', the button
does not update to the text 'Saved' as it does in other browsers. No
console errors, just no change in the button. Digging more to see why that
is.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27485#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list