dimagi/FormDesignerAlpha — comment on commit 79c83c2be4699635fe2f4e35a2733e34a8c09412
File: js/controller.js line 978
By czue:

I don't like this shotgun approach, as there may be buttons that were intentionally disabled through other means that you will then enable, causing unpredictable behavior. Further, this only needs to be called when an unsuccessful parse --> a successful parse which you should be able to check. Finally, I'd like to see this go into a "disableUI/enableUI" function pair in formdesigner.ui, so that there's a single place to deal with this in case anything else ever needs to call it.