Fixed Editor Preview using wrong parameters for the ajax call

This commit is contained in:
Djamil Legato
2016-04-22 10:57:13 -07:00
parent e0e13ebfde
commit 47cb019362
4 changed files with 32 additions and 26 deletions

View File

@@ -1,3 +1,9 @@
# v1.1.0-beta.2
## XX/XX/2016
1. [](#bugfix)
* Fixed Editor Preview using wrong parameters for the ajax call
# v1.1.0-beta.1 # v1.1.0-beta.1
## 04/20/2016 ## 04/20/2016

View File

@@ -348,7 +348,7 @@ export default {
params.map((obj) => { body[obj.name] = obj.value; }); params.map((obj) => { body[obj.name] = obj.value; });
request(url, { request(url, {
method: 'post', method: 'post',
body: params body
}, (response) => previewContainer.html(response.preview)); }, (response) => previewContainer.html(response.preview));
}); });
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long