[wp-trac] [WordPress Trac] #27620: Customizer background image drop zone text glitch
WordPress Trac
noreply at wordpress.org
Thu Apr 3 00:12:54 UTC 2014
#27620: Customizer background image drop zone text glitch
--------------------------+------------------------
Reporter: astralbodies | Owner: ocean90
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 3.9
Component: Appearance | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui
--------------------------+------------------------
Comment (by adamsilverstein):
Replying to [comment:7 ocean90]:
> Replying to [comment:6 rachelbaker]:
> > Thank you for testing this. `this.supports.dragdrop` wasn't being set
properly. Happy to go back and try to debug why that was the case.
>
> this.uploader.bind( 'init', function( uploader ) { .. } in wp-upload.js
runs after this.uploader.init() in customize-controls.js. Because of this
`this.supports.dragdrop` is undefined.
In [attachment:27620.2.patch] I reproduced the code from Modernizr we are
using internally (later) to check for drag & drop support. I verified this
works correctly across IE 8->11 and in firefox; I would expect it to work
correctly across browsers.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27620#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list