cabennett85/gittest — Issue #1397: "Support this cause" fails when javascript is disabled
Author: cabennett85
Created: 2012-03-02 00:49:08+00:00
State: open

If javascript is disabled, the "support this cause" action should degrade gracefully and do a form post.

Currently, if you support a cause with js disabled, a JSON error response is dumped to screen. This occurs when trying to join from the homepage, as well as a cause page. I've tested this in Chrome only, but I'll test more widely later and leave comments here.

The JSON error is:
{"success":false,"event":"ep:broadcause.member-join.fail","eventData":"generic error attempting to add member to nonprofit"}

And the script dumping the error is:
/ajax/broadcause-np-fbjoin.php