1
0
Fork 0

Fields with index greater than total in group are not visible

* src/ui/group/GroupUi (isFieldVisible): Indexes greater than the current
index count will no longer be considered to be visible.
master
Mike Gerwitz 2016-04-19 10:50:32 -04:00
parent 7651e9499f
commit fcce2e814a
1 changed files with 5 additions and 0 deletions

View File

@ -838,6 +838,11 @@ module.exports = Class( 'GroupUi' )
'public isFieldVisible': function( id, index )
{
if ( index > this.getCurrentIndex() )
{
return false;
}
this._visCache[ id ] = this._visCache[ id ] || [];
// if no index was provided, then determine if *any* of the indexes are