Skip to content

Commit 79a178d

Browse files
author
Gaurav SinghaRoy
committed
some fix
1 parent b6731f2 commit 79a178d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/assets/javascripts/resources/sparql.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)