aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/lib/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/ajax.js b/js/lib/ajax.js
index c84698a22..3ea4377a4 100644
--- a/js/lib/ajax.js
+++ b/js/lib/ajax.js
@@ -188,7 +188,7 @@ elgg.action = function(action, options) {
options.success = function(json, two, three, four) {
if (json.system_messages) {
elgg.register_error(json.system_messages.errors);
- elgg.system_message(json.system_messages.messages);
+ elgg.system_message(json.system_messages.success);
}
custom_success(json, two, three, four);