dreamwidth/dw-free — pull request #907 by afuna (2014-08-08 08:20:13+00:00)
Title: [#861] Explicitly set the "post as" to remote

The problem is that we knew the community name we were going to post to,
but we didn't know we were going to post as remote. Because that option
wasn't selected (post as remote), the community name was being hidden by
javascript.

Fix is to make sure there's an explicit value set for post_as, even when
we initialized the entry form using data from another form.

This involves moving the init code for vars upward so there's a little
less duplication of logic.

Fixes #861.