Ticket #6755: post-update-button.diff
| File post-update-button.diff, 1.4 KB (added by , 10 years ago) |
|---|
-
src/bp-templates/bp-legacy/js/buddypress.js
44 44 } ); 45 45 46 46 $whats_new.val('').focus().val( $member_nicename ); 47 } else {48 jq('#whats-new-options').hide();49 47 } 50 48 51 49 /**** Activity Posting ********************************************************/ … … 52 50 53 51 /* Textarea focus */ 54 52 $whats_new.focus( function(){ 55 jq( '#whats-new-options' ).slideDown();56 53 57 54 jq( this ).animate({ 58 55 height:'3.8em' 59 56 }); 60 57 61 jq('#aw-whats-new-submit').prop('disabled', false);62 63 58 jq( this ).parent().addClass( 'active' ); 64 59 jq( '#whats-new-content' ).addClass( 'active' ); 65 60 … … 101 96 height:'2.2em' 102 97 }); 103 98 104 jq( '#whats-new-options' ).slideUp();105 106 jq('#aw-whats-new-submit').prop( 'disabled', true );107 108 99 jq( '#whats-new-content' ).removeClass( 'active' ); 109 100 $whats_new.parent().removeClass( 'active' ); 110 101 } … … 241 232 activity_last_recorded = 0; 242 233 } 243 234 244 jq('#whats-new-options').slideUp();245 235 jq('#whats-new-form textarea').animate({ 246 236 height:'2.2em' 247 237 }); 248 jq('#aw-whats-new-submit').prop('disabled', true).removeClass('loading'); 238 249 239 jq( '#whats-new-content' ).removeClass( 'active' ); 250 240 }); 251 241