Skip to content

Commit c76acc3

Browse files
author
Spendil
committed
update form content type
1 parent 9d690df commit c76acc3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "widgets",
3-
"version": "1.3.20",
3+
"version": "1.3.21",
44
"description": "Blockchain Visualization Widgets",
55
"main": "dist/widgets.js",
66
"directories": {

src/components/base.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
form.setAttribute('method', 'post');
5454
form.setAttribute('action', this.data.ideUrl);
5555
form.setAttribute('target', '_blank');
56+
form.setAttribute('enctype', 'application/json');
5657
form.appendChild(createHiddenField('query', JSON.stringify(this.context.query.query)));
5758
form.appendChild(createHiddenField('variables', JSON.stringify(this.context.query.variables)));
5859
document.body.appendChild(form);

0 commit comments

Comments
 (0)