File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -456,12 +456,15 @@ define([
456
456
} else {
457
457
values = valuesFrom [ idFrom ] . values ;
458
458
fromId = $ ( idFrom + values [ 0 ] ) ;
459
- radioFrom = fromId ? $$ ( '[name="' + fromId . name + '"]:checked' ) : [ ] ;
460
- isInArray = radioFrom . length > 0 && values . indexOf ( radioFrom [ 0 ] . value ) !== - 1 ;
461
- isNegative = valuesFrom [ idFrom ] . negative ;
462
459
463
- if ( ! radioFrom || isInArray && isNegative || ! isInArray && ! isNegative ) {
464
- shouldShowUp = false ;
460
+ if ( fromId ) {
461
+ radioFrom = $$ ( '[name="' + fromId . name + '"]:checked' ) ;
462
+ isInArray = radioFrom . length > 0 && values . indexOf ( radioFrom [ 0 ] . value ) !== - 1 ;
463
+ isNegative = valuesFrom [ idFrom ] . negative ;
464
+
465
+ if ( ! radioFrom || isInArray && isNegative || ! isInArray && ! isNegative ) {
466
+ shouldShowUp = false ;
467
+ }
465
468
}
466
469
}
467
470
}
You can’t perform that action at this time.
0 commit comments