File tree 2 files changed +6
-6
lines changed
Griddly.NetCore.Razor/wwwroot/js
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1087
1087
1088
1088
$ ( this . $element ) . on ( "click" , "thead tr.columnHeaders th.select" , $ . proxy ( function ( event )
1089
1089
{
1090
- if ( this . $element . find ( "input[name=_rowselect]:not(:checked)" ) . length == 0 )
1091
- this . $element . find ( "input[name=_rowselect]" ) . prop ( "checked" , false ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1090
+ if ( this . $element . find ( "input[name=_rowselect]:not(:checked):not(:disabled) " ) . length == 0 )
1091
+ this . $element . find ( "input[name=_rowselect]:not(:disabled) " ) . prop ( "checked" , false ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1092
1092
else
1093
- this . $element . find ( "input[name=_rowselect]" ) . prop ( "checked" , true ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1093
+ this . $element . find ( "input[name=_rowselect]:not(:disabled) " ) . prop ( "checked" , true ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1094
1094
1095
1095
onRowChange ( ) ;
1096
1096
} , this ) ) ;
Original file line number Diff line number Diff line change 1087
1087
1088
1088
$ ( this . $element ) . on ( "click" , "thead tr.columnHeaders th.select" , $ . proxy ( function ( event )
1089
1089
{
1090
- if ( this . $element . find ( "input[name=_rowselect]:not(:checked)" ) . length == 0 )
1091
- this . $element . find ( "input[name=_rowselect]" ) . prop ( "checked" , false ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1090
+ if ( this . $element . find ( "input[name=_rowselect]:not(:checked):not(:disabled) " ) . length == 0 )
1091
+ this . $element . find ( "input[name=_rowselect]:not(:disabled) " ) . prop ( "checked" , false ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1092
1092
else
1093
- this . $element . find ( "input[name=_rowselect]" ) . prop ( "checked" , true ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1093
+ this . $element . find ( "input[name=_rowselect]:not(:disabled) " ) . prop ( "checked" , true ) . each ( function ( ) { setRowSelect ( $ ( this ) , true ) ; } ) ;
1094
1094
1095
1095
onRowChange ( ) ;
1096
1096
} , this ) ) ;
You can’t perform that action at this time.
0 commit comments