Skip to:
Content

BuddyPress.org

Changeset 4865


Ignore:
Timestamp:
07/26/2011 12:01:26 PM (13 years ago)
Author:
boonebgorges
Message:

Clean up 'disabled' logic when posting activity comments. Fixes #3385

File:
1 edited

Legend:

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

    r4864 r4865  
    374374                if ( response[0] + response[1] == '-1' ) {
    375375                    form.append( response.substr( 2, response.length ) ).hide().fadeIn( 200 );
    376                     target.prop("disabled", false);
    377376                } else {
    378377                    form.fadeOut( 200,
     
    396395                }
    397396
    398                 target.fadeOut(100, function(){ target.prop("disabled", false); });
     397                jq(target).prop("disabled", false);
    399398            });
    400399
Note: See TracChangeset for help on using the changeset viewer.