Commit eb329310 authored by Nigel McNie's avatar Nigel McNie
Browse files

The format of error data sent back by json_reply has changed - fix the error message display.

parent 34d825e2
......@@ -62,7 +62,7 @@ function formStopProcessing(form, btn) {
processingStop();
}
function formError(form, data) {
var errMsg = DIV({'id': 'messages'}, makeMessage(data.message.message, 'error'));
var errMsg = DIV({'id': 'messages'}, makeMessage(data.message, 'error'));
swapDOM('messages', errMsg);
scrollTo(0, 0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment