144
144
/* Check for action errors reported by the server, and report them
146
146
var error = response.getResponseHeader("X-IVLE-Action-Error");
148
148
/* Note: This header (in particular) comes URI-encoded, to
149
149
* allow multi-line error messages. Decode */
150
150
alert("Error: " + decodeURIComponent(error.toString()) + ".");