Resizable: Second attempt @ fixing #859

This commit is contained in:
Mottie 2015-04-02 18:49:52 -05:00
parent 318e398019
commit c2c4f8d8a0
10 changed files with 10 additions and 5 deletions

View File

@ -4212,6 +4212,7 @@ ts.resizable = {
column = parseInt( $this.attr( 'data-column' ), 10 ),
columns = c.columns - 1,
$header = $this.data( 'header' );
if ( !$header ) { return; } // see #859
if ( !$header.is(':visible') ) {
$this.hide();
} else if ( column < columns || column === columns && wo.resizable_addLastColumn ) {

File diff suppressed because one or more lines are too long

View File

@ -2083,6 +2083,7 @@ ts.resizable = {
column = parseInt( $this.attr( 'data-column' ), 10 ),
columns = c.columns - 1,
$header = $this.data( 'header' );
if ( !$header ) { return; } // see #859
if ( !$header.is(':visible') ) {
$this.hide();
} else if ( column < columns || column === columns && wo.resizable_addLastColumn ) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4218,6 +4218,7 @@ ts.resizable = {
column = parseInt( $this.attr( 'data-column' ), 10 ),
columns = c.columns - 1,
$header = $this.data( 'header' );
if ( !$header ) { return; } // see #859
if ( !$header.is(':visible') ) {
$this.hide();
} else if ( column < columns || column === columns && wo.resizable_addLastColumn ) {

View File

@ -2089,6 +2089,7 @@ ts.resizable = {
column = parseInt( $this.attr( 'data-column' ), 10 ),
columns = c.columns - 1,
$header = $this.data( 'header' );
if ( !$header ) { return; } // see #859
if ( !$header.is(':visible') ) {
$this.hide();
} else if ( column < columns || column === columns && wo.resizable_addLastColumn ) {

View File

@ -121,6 +121,7 @@ ts.resizable = {
column = parseInt( $this.attr( 'data-column' ), 10 ),
columns = c.columns - 1,
$header = $this.data( 'header' );
if ( !$header ) { return; } // see #859
if ( !$header.is(':visible') ) {
$this.hide();
} else if ( column < columns || column === columns && wo.resizable_addLastColumn ) {

View File

@ -1,4 +1,4 @@
/*! Widget: scroller - updated 3/26/2015 (v2.21.3) *//*
/*! Widget: scroller - updated 4/2/2015 (v2.21.5) *//*
Copyright (C) 2011 T. Connell & Associates, Inc.
Dual-licensed under the MIT and GPL licenses