Fix form submission (#129)

* Fix check for radio and checkbox inputs

* Fix GET form submission

* Add example forms for testing

* Refactor query string building
This commit was merged in pull request #129.
This commit is contained in:
Robin North
2018-03-02 20:25:08 +00:00
committed by GitHub
parent 0c7af354fd
commit 07baae8e4d
8 changed files with 214 additions and 38 deletions

View File

@@ -20,7 +20,8 @@ document.addEventListener("pjax:success", function() {
document.addEventListener("DOMContentLoaded", function() {
var pjax = new Pjax({
elements: [".js-Pjax"],
selectors: [".body"]
selectors: [".body", "title"],
cacheBust: true,
// currentUrlFullReload: true,
})
console.log("Pjax initialized.", pjax)