mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 17:56:07 +01:00
Fixed Editor Preview using wrong parameters for the ajax call
This commit is contained in:
@@ -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
|
||||
## 04/20/2016
|
||||
|
||||
|
||||
@@ -348,7 +348,7 @@ export default {
|
||||
params.map((obj) => { body[obj.name] = obj.value; });
|
||||
request(url, {
|
||||
method: 'post',
|
||||
body: params
|
||||
body
|
||||
}, (response) => previewContainer.html(response.preview));
|
||||
});
|
||||
}
|
||||
|
||||
22
themes/grav/js/admin.min.js
vendored
22
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
28
themes/grav/js/vendor.min.js
vendored
28
themes/grav/js/vendor.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user