File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed
Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 2222 ],
2323 "require" : {
2424 "mouf/javascript.jquery.jquery" : " >=1.11" ,
25- "mouf/database.querywriter" : " ~3.0 | ~4.0 " ,
25+ "mouf/database.querywriter" : " ~3.0" ,
2626 "mouf/mvc.splash-common" : " >=4.0, <6.0" ,
2727 "mouf/utils.common.sortable-interface" : " ~1.0" ,
2828 "mouf/html.utils.weblibrarymanager" : " >=2.0, <4.0" ,
Original file line number Diff line number Diff line change 496496
497497
498498 if ( extendedDescriptor . export_csv ) {
499- var span = $ ( '<span/ >' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
500- span . append ( $ ( '<i/>' ) . addClass ( 'glyphicon glyphicon-file' ) . attr ( 'style' , 'cursor:pointer;' ) ) ;
501- span . append ( "Export to CSV" ) ;
502- pager . append ( span ) ;
499+ var button = $ ( '<button class="btn btn-success" >' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
500+ button . append ( $ ( '<i/>' ) . addClass ( 'glyphicon glyphicon-file' ) . attr ( 'style' , 'cursor:pointer;' ) ) ;
501+ button . append ( "Export to CSV" ) ;
502+ pager . append ( button ) ;
503503 }
504504
505505 // Number of all pages
738738 }
739739
740740 if ( extendedDescriptor . export_csv ) {
741- var span = $ ( '<span/>' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
742- span . append ( $ ( '<i/>' ) . addClass ( 'glyphicon glyphicon-file' ) . attr ( 'style' , 'cursor:pointer;' ) ) ;
743- span . append ( "Export to CSV" ) ;
744- $this . append ( span ) ;
741+ var button = $ ( '<button class="btn btn-success">' ) . click ( function ( ) { $this . evolugrid ( 'csvExport' ) ; } ) ;
742+ button . append ( $ ( '<i/>' ) . addClass ( 'glyphicon glyphicon-file' ) . attr ( 'style' , 'cursor:pointer;' ) ) ;
743+ button . append ( "Export to CSV" ) ;
744+ pager . append ( button ) ;
745+ $this . append ( button ) ;
745746 }
746747
747748 if ( init ) {
You can’t perform that action at this time.
0 commit comments