File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " LightPivotTable" ,
3
3
"author" : " ZitRo" ,
4
- "version" : " 1.1.0 " ,
4
+ "version" : " 1.1.1 " ,
5
5
"description" : " A lightweight pivot table for MDX2JSON source for InterSystems Cache" ,
6
6
"main" : " test/testServer.js" ,
7
7
"repository" : {
Original file line number Diff line number Diff line change @@ -886,8 +886,14 @@ PivotView.prototype.renderRawData = function (data) {
886
886
checkbox . setAttribute ( "type" , "checkbox" ) ;
887
887
checkbox . checked = ! ! _ . selectedRows [ y ] ;
888
888
th . setAttribute ( "style" , "padding: 0 !important;" ) ;
889
- checkbox . addEventListener ( "change" , ( function ( y ) { return function ( e ) {
890
- _ . selectRow . call ( _ , ( e . srcElement || e . target ) . checked , y ) ;
889
+ checkbox . addEventListener ( "click" , ( function ( y ) { return function ( e ) {
890
+ var element = e . srcElement || e . target ;
891
+ e . preventDefault ( ) ;
892
+ e . cancelBubble = true ;
893
+ setTimeout ( function ( ) { // bad, but only working workaround for ISC DeepSee
894
+ element . checked = ! element . checked ;
895
+ _ . selectRow . call ( _ , element . checked , y ) ;
896
+ } , 1 ) ;
891
897
} } ) ( y ) ) ;
892
898
th . appendChild ( checkbox ) ;
893
899
tr . appendChild ( th ) ;
You can’t perform that action at this time.
0 commit comments