]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #2770 - success messages are stoted is success array now in json
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 5 Jan 2011 12:53:47 +0000 (12:53 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 5 Jan 2011 12:53:47 +0000 (12:53 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@7842 36083f99-b078-4883-b0ff-0f9b5a30f544

js/lib/ajax.js

index c84698a2210951ea2ef15733b26c4b068fe43ef3..3ea4377a46a6f1fc0e90b219e93fd4c34abbee68 100644 (file)
@@ -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);