File tree Expand file tree Collapse file tree
app/assets/javascripts/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,14 +74,14 @@ SPARQL = {
7474 var download_url = Utils . rdf2any . server + Utils . rdf2any . actions . convert + "configured-converter?dataset=" + QueryBuilder . datasets . get_selected ( ) + "&query=" + encodeURIComponent ( $ ( "#txt_sparql_query" ) . val ( ) ) ;
7575 download_url += "&for_class=" + QueryBuilder . classes . get_selected_class ( ) ;
7676 download_url += "&properties=" + encodeURIComponent ( QueryBuilder . properties . get_checked_properties ( ) ) ;
77- var str_variable_disctionary = "" ;
77+ var str_variable_dictionary = "" ;
7878 for ( i = 0 ; i < configured_convert . variable_dictionary . length ; i ++ ) {
7979 if ( i > 0 )
80- str_variable_disctionary += "," ;
81- str_variable_disctionary += configured_convert . variable_dictionary . variable + "::" + configured_convert . variable_dictionary . value ;
80+ str_variable_dictionary += "," ;
81+ str_variable_dictionary += configured_convert . variable_dictionary [ i ] . variable + "::" + configured_convert . variable_dictionary [ i ] . value ;
8282
8383 }
84- download_url += "&variable_dictionary=" + encodeURIComponent ( str_variable_disctionary ) ;
84+ download_url += "&variable_dictionary=" + encodeURIComponent ( str_variable_dictionary ) ;
8585 download_url += "&header=" + encodeURIComponent ( configured_convert . head ) ;
8686 download_url += "&body=" + encodeURIComponent ( configured_convert . body ) ;
8787 download_url += "&footer=" + encodeURIComponent ( configured_convert . footer ) ;
You can’t perform that action at this time.
0 commit comments