dimagi/Vellum — pull request #18 by mwhite (2012-12-13 01:11:35+00:00)
Title: Duplicate question

I'd recommend trying various strategies for reading this diff, like maybe reading the individual commits, possibly in reverse order.

Let me know if you're ready to merge, because I'm going to need to resolve merge conflicts from merging the latest hqstyle into https://github.com/dimagi/hqstyle-src/pull/8.

I had to refactor a lot to address data node bugs in a non-brain-dead way (and some other things), and ended up touching a large portion of the code, so there's theoretically a huge amount of functionality than could have broken or regressed. But I ran into half a dozen issues and tested a bunch others, and I'm pretty sure everything now works like it used to. We might want to have people use it on staging for a while anyway (it's up there now).

This also fixes Case:37184 and (add questions even when focus is on a select item) and Case:45569 (maintain question focus when changing question type).