Skip to:
Content

BuddyPress.org

Ticket #8106: 8106.patch

File 8106.patch, 875 bytes (added by imath, 6 years ago)
  • src/bp-templates/bp-nouveau/js/buddypress-activity-post-form.js

    diff --git src/bp-templates/bp-nouveau/js/buddypress-activity-post-form.js src/bp-templates/bp-nouveau/js/buddypress-activity-post-form.js
    index 3e3c83b78..4465aeca1 100644
    window.bp = window.bp || {}; 
    626626                                height : 'auto'
    627627                        } );
    628628
     629                        this.$el.addClass( 'activity-form-expanded' );
     630
    629631                        // Add the container view for buttons or custom fields.
    630632                        if ( true === this.options.backcompat.post_form_options ) {
    631633                                this.views.add( new bp.Views.FormOptions( { model: this.model } ) );
    window.bp = window.bp || {}; 
    662664                                height : '50px'
    663665                        } );
    664666
     667                        this.$el.removeClass( 'activity-form-expanded' );
     668
    665669                        // Reset the model
    666670                        this.model.clear();
    667671                        this.model.set( this.resetModel.attributes );