From 8701cfd4447ad543dbbccd2b2481bbbbf62f1908 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Sat, 3 Aug 2013 14:35:58 +0200 Subject: [PATCH] Fix wrong var on error in groups deletion. --- js/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/groups.js b/js/groups.js index e44e3233..783acbc0 100644 --- a/js/groups.js +++ b/js/groups.js @@ -35,7 +35,7 @@ OC.Contacts = OC.Contacts || {}; var id = $(event.target).parents('li').first().data('id'); self.deleteGroup(id, function(response) { if(response.error) { - OC.notify({message:response.data.message}); + OC.notify({message:response.message}); } }); } else if($(event.target).is('.action.edit')) {