Skip to:
Content

BuddyPress.org

Changeset 4716


Ignore:
Timestamp:
07/19/2011 03:22:42 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Move ajax loading class on activity comments to button when clicked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/global.js

    r4715 r4716  
    352352            /* Hide any error messages */
    353353            jq( 'form#' + form + ' div.error').hide();
    354             form.addClass('loading');
     354            target.addClass('loading');
    355355            target.css('disabled', 'disabled');
    356356
     
    365365            function(response)
    366366            {
    367                 form.removeClass('loading');
     367                target.removeClass('loading');
    368368
    369369                /* Check for errors and append if found. */
Note: See TracChangeset for help on using the changeset viewer.