File tree Expand file tree Collapse file tree
assets/javascripts/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,10 @@ SPARQL = {
3838 } ,
3939 download : {
4040 rdb : function ( ) {
41- window . open ( Utils . rdf2any . server + Utils . rdf2any . actions . convert + "/rdb-converter.sql?query=" + encodeURIComponent ( $ ( "#txt_sparql_query" ) . val ( ) ) )
41+ window . open ( Utils . rdf2any . server + Utils . rdf2any . actions . convert + "/rdb-converter.sql?query=" + encodeURIComponent ( $ ( "#txt_sparql_query" ) . val ( ) ) ) ;
42+ } ,
43+ csv : function ( ) {
44+ window . open ( Utils . rdf2any . server + Utils . rdf2any . actions . convert + "/csv-converter.csv?query=" + encodeURIComponent ( $ ( "#txt_sparql_query" ) . val ( ) ) ) ;
4245 }
4346 }
4447
Original file line number Diff line number Diff line change 3838 < div class ="modal-body ">
3939 < div class ="btn-group ">
4040 < button type ="button " class ="btn btn-default btn-primary " onclick ="SPARQL.download.rdb() "> < span class ="glyphicon glyphicon-list-alt "> </ span > RDB Script</ button >
41- < button type ="button " class ="btn btn-default btn-success " onclick ="download_sparql_result_set(' csv' ) "> < span class ="glyphicon glyphicon-align-justify "> </ span > CSV</ button >
41+ < button type ="button " class ="btn btn-default btn-success " onclick ="SPARQL.download. csv( ) "> < span class ="glyphicon glyphicon-align-justify "> </ span > CSV</ button >
4242 < button type ="button " class ="btn btn-default btn-info "> < span class ="glyphicon glyphicon-road "> </ span > JSON</ button >
4343 < button type ="button " class ="btn btn-default btn-warning " onclick ="download_sparql_result_set('pdf') "> < span class ="glyphicon glyphicon-file "> </ span > PDF</ button >
4444 </ div >
You can’t perform that action at this time.
0 commit comments