From ae06334850c6dc41bb78458098f5de650ed676b2 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 5 Jan 2011 12:53:47 +0000 Subject: Refs #2770 - success messages are stoted is success array now in json git-svn-id: http://code.elgg.org/elgg/trunk@7842 36083f99-b078-4883-b0ff-0f9b5a30f544 --- js/lib/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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); -- cgit v1.2.3