File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 373373 }
374374 url += "output=csv" ;
375375
376- window . open ( url ) ;
376+ window . location . replace ( url ) ;
377377 } ,
378378 refresh : function ( noPage , filters ) {
379379 var descriptor = $ ( this ) . data ( 'descriptor' ) ;
496496
497497
498498 if ( extendedDescriptor . export_csv ) {
499- var button = $ ( '<button class="btn btn-success">' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
499+ var button = $ ( '<button class="btn btn-success" type="button" >' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
500500 button . append ( $ ( '<i/>' ) . addClass ( 'glyphicon glyphicon-file' ) . attr ( 'style' , 'cursor:pointer;' ) ) ;
501501 button . append ( "Export to CSV" ) ;
502502 pager . append ( button ) ;
738738 }
739739
740740 if ( extendedDescriptor . export_csv ) {
741- var button = $ ( '<button class="btn btn-success">' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
741+ var button = $ ( '<button class="btn btn-success" type="button" >' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
742742 button . append ( $ ( '<i/>' ) . addClass ( 'glyphicon glyphicon-file' ) . attr ( 'style' , 'cursor:pointer;' ) ) ;
743743 button . append ( "Export to CSV" ) ;
744744 pager . append ( button ) ;
881881 o . find ( 'thead.header-copy> tr > th:eq(' + i + ')' ) . width ( w )
882882 } ) ;
883883 } ;
884- } ) ( jQuery ) ;
884+ } ) ( jQuery ) ;
You can’t perform that action at this time.
0 commit comments