-
Aaron Wells authored
If an Ajax block errors out, it will looks less broken to display the JSON code there than to display error.tpl (which tries to wedge a whole copy of the Mahara header and footer and everything, into the space for a block.) It would be even better to change block.js so that it actually expects a JSON response. behatnotneeded: Can't test error state via Behat Change-Id: If5cc9ed2bbb3ce453a5cb413cbecdab0205fb3b5
0e7c6ff5