[wp-trac] [WordPress Trac] #44037: Cannot hide plugin description on responsive view

WordPress Trac noreply at wordpress.org
Fri May 11 11:48:27 UTC 2018


#44037: Cannot hide plugin description on responsive view
------------------------------+---------------------------------
 Reporter:  subrataemfluence  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Administration    |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:  ui, administration
------------------------------+---------------------------------
Changes (by subrataemfluence):

 * version:   => trunk


Comment:

 File /wp-admin/js/common.js

 {{{
 checked : function(column) {
    $('.column-' + column).removeClass( 'hidden' );
    if( $('.column-' + column).children().length > 0 ) {
       $('.column-' + column).children().removeClass( 'hidden' );
    }
    this.colSpanChange(+1);
 },

 unchecked : function(column) {
    $('.column-' + column).addClass( 'hidden' );
    if( $('.column-' + column).children().length > 0 ) {
       $('.column-' + column).children().addClass( 'hidden' );
    }
    this.colSpanChange(-1);
  },
 }}}

 If I add `$('.column-' + column).find('div')...` things work client side
 in both desktop and responsive views. But the problem is present column
 visibility state is not retained!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44037#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list