mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-25 23:33:45 +00:00
tweak
This commit is contained in:
parent
e1155c32ef
commit
307ad3462a
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ $(function() {
|
|||
function submitPreview(enhanced){
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: $(this).data('action'),
|
||||
url: $this.data('action'),
|
||||
data: $('#page-edit-form').serialize(),
|
||||
success: function(data, textStatus, request) {
|
||||
if (request.getResponseHeader('X-Wagtail-Preview') == 'ok') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue