# This patch file uses platform neutral UTF-8 encoding.
# Patch for Ticket# 1257 http://trac.buddypress.org/ticket/1257
# - Ajax.js fix for truncated description.
# - Additional CSS formating for error message when leaving a group.
# Jason Giedymin
--- buddypress/bp-themes/bp-sn-parent/_inc/js/ajax.js
+++ buddypress/bp-themes/bp-sn-parent/_inc/js/ajax.js
@@ -389,9 +389,12 @@
 			},
 			function(response)
 			{
-				response = response.substr(0, response.length-1);
+                                response = response.substr(0, response.length);
 				var parentdiv = thelink.parent();
 
+                                parentdiv.removeClass();
+                                parentdiv.addClass('error-box');
+
\ No newline at end of file
 				j(parentdiv).fadeOut(200, 
 					function() {
 						parentdiv.fadeIn(200).html(response);
