diff options
Diffstat (limited to 'js/lib')
-rw-r--r-- | js/lib/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/ajax.js b/js/lib/ajax.js index 5e290df6f..6f6ae052f 100644 --- a/js/lib/ajax.js +++ b/js/lib/ajax.js @@ -194,7 +194,7 @@ elgg.action = function(action, options) { var custom_success = options.success || elgg.nullFunction; options.success = function(json, two, three, four) { if (json && json.system_messages) { - elgg.register_error(json.system_messages.errors); + elgg.register_error(json.system_messages.error); elgg.system_message(json.system_messages.success); } |