aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-05 12:53:47 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-05 12:53:47 +0000
commitae06334850c6dc41bb78458098f5de650ed676b2 (patch)
tree54b3a7659980c778be87d2edb62a5ee6a1cb68fa /js/lib
parentb88ffc10d646da1df436c4fb87604b9abcee0d7b (diff)
downloadelgg-ae06334850c6dc41bb78458098f5de650ed676b2.tar.gz
elgg-ae06334850c6dc41bb78458098f5de650ed676b2.tar.bz2
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
Diffstat (limited to 'js/lib')
-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);