Skip to:
Content

BuddyPress.org

Ticket #1257: (JASON_JM)(BP)ajax.js_ticket-1257(v1).patch

File (JASON_JM)(BP)ajax.js_ticket-1257(v1).patch, 863 bytes (added by Jason_JM, 16 years ago)

V1 of the patch.

  • buddypress/bp-themes/bp-sn-parent/_inc/js/ajax.js

    # 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
     
    389389                        },
    390390                        function(response)
    391391                        {
    392                                 response = response.substr(0, response.length-1);
     392                                response = response.substr(0, response.length);
    393393                                var parentdiv = thelink.parent();
    394394
     395                                parentdiv.removeClass();
     396                                parentdiv.addClass('error-box');
     397
     398 No newline at end of file
    395399                                j(parentdiv).fadeOut(200,
    396400                                        function() {
    397401                                                parentdiv.fadeIn(200).html(response);