From: cash Date: Wed, 5 Jan 2011 12:53:47 +0000 (+0000) Subject: Refs #2770 - success messages are stoted is success array now in json X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=ae06334850c6dc41bb78458098f5de650ed676b2;p=lorea%2Felgg.git 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 --- 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);