Skip to content

Commit

Permalink
xe-page form ajax 전송이 안 되는 문제 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Nov 14, 2018
1 parent 082ae3f commit ab2de20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/core/xe-ui-component/js/xe-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@
$target.html(html)
}

$('form', $target).each((idx, form) => {
/* eslint no-new:off */
XE.Form.get(form)
})

if (callback) {
callback(data)
}
Expand Down
5 changes: 5 additions & 0 deletions resources/assets/core/xe-ui-component/js/xe-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,11 @@
$target.html(html)
}

$('form', $target).each((idx, form) => {
/* eslint no-new:off */
XE.Form.get(form)
})

if (callback) {
callback(data)
}
Expand Down

0 comments on commit ab2de20

Please sign in to comment.