dimagi/commcare-hq — pull request #5184 by biyeun (2014-12-31 09:08:30+00:00)
Title: [Feature Flagged] Experiment with App Logo Uploader

So the https setup on production likes to wreak havoc on YUI's uploader if not configured in a very specific manner. Unfortunately, solutions are difficult to test unless you actually test on prod.

What I did here was move the YUI Uploader Select File button (which later turns into the select file SWF) out of the template and into the modals section so that it is rendered on the initial DOM processing of the file. I vaguely remember from long, long ago that if you remove the SWF from the DOM and then add it back in, YUI will no longer load the local files and instead try to grab stuff from yahoo's api directly. This works good and fine on a local instance, but as soon as you add https into the mix---watch out!

Anyway, who knows if this will actually solve the issue, but this is my best guess.

@nickpell