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 11{
22 "name" : " LightPivotTable" ,
33 "author" : " ZitRo" ,
4- "version" : " 1.1.0 " ,
4+ "version" : " 1.1.1 " ,
55 "description" : " A lightweight pivot table for MDX2JSON source for InterSystems Cache" ,
66 "main" : " test/testServer.js" ,
77 "repository" : {
Original file line number Diff line number Diff line change @@ -886,8 +886,14 @@ PivotView.prototype.renderRawData = function (data) {
886886 checkbox . setAttribute ( "type" , "checkbox" ) ;
887887 checkbox . checked = ! ! _ . selectedRows [ y ] ;
888888 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 ) ;
891897 } } ) ( y ) ) ;
892898 th . appendChild ( checkbox ) ;
893899 tr . appendChild ( th ) ;
You can’t perform that action at this time.
0 commit comments