File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 324
324
325
325
$ ( this . $element ) . on ( "mouseup" , "tbody.data tr td:not(:has(input))" , $ . proxy ( function ( e )
326
326
{
327
- var url = $ ( e . target ) . parents ( "tr" ) . data ( "griddly-url" ) ;
327
+ var url = $ . trim ( $ ( e . target ) . parents ( "tr" ) . data ( "griddly-url" ) ) ;
328
328
329
329
if ( url && $ ( e . target ) . closest ( "a" ) . length == 0 )
330
330
{
331
331
if ( this . options . rowClickModal )
332
332
{
333
333
$ ( this . options . rowClickModal ) . removeData ( "bs.modal" ) . modal ( { show : false } ) ;
334
- $ ( ".modal-content" , this . options . rowClickModal ) . load ( $ . trim ( url ) , $ . proxy ( function ( event )
334
+ $ ( ".modal-content" , this . options . rowClickModal ) . load ( url , $ . proxy ( function ( event )
335
335
{
336
336
$ ( this . options . rowClickModal ) . modal ( "show" ) ;
337
337
} , this ) ) ;
350
350
351
351
$ ( this . $element ) . on ( "mousedown" , "tbody.data tr td:not(:has(input))" , $ . proxy ( function ( e )
352
352
{
353
- var url = $ ( e . target ) . parents ( "tr" ) . data ( "griddly-url" ) ;
353
+ var url = $ . trim ( $ ( e . target ) . parents ( "tr" ) . data ( "griddly-url" ) ) ;
354
354
355
355
if ( url )
356
356
e . preventDefault ( ) ;
474
474
{
475
475
$checkbox = $target . find ( "input[name=_rowselect]" ) ;
476
476
477
- $checkbox . prop ( "checked" , ! $checkbox . prop ( "checked" ) ) ;
477
+ if ( ! $checkbox . prop ( "disabled" ) )
478
+ {
479
+ $checkbox . prop ( "checked" , ! $checkbox . prop ( "checked" ) ) ;
480
+ }
478
481
}
479
482
480
483
setRowSelect ( $checkbox ) ;
You can’t perform that action at this time.
0 commit comments