Skip to content

Commit

Permalink
update form content type
Browse files Browse the repository at this point in the history
  • Loading branch information
Spendil committed Dec 14, 2022
1 parent 9d690df commit c76acc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "widgets",
"version": "1.3.20",
"version": "1.3.21",
"description": "Blockchain Visualization Widgets",
"main": "dist/widgets.js",
"directories": {
Expand Down
1 change: 1 addition & 0 deletions src/components/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
form.setAttribute('method', 'post');
form.setAttribute('action', this.data.ideUrl);
form.setAttribute('target', '_blank');
form.setAttribute('enctype', 'application/json');
form.appendChild(createHiddenField('query', JSON.stringify(this.context.query.query)));
form.appendChild(createHiddenField('variables', JSON.stringify(this.context.query.variables)));
document.body.appendChild(form);
Expand Down

0 comments on commit c76acc3

Please sign in to comment.