diff options
author | romangraef <roman.graef@gmail.com> | 2018-06-02 10:45:15 +0200 |
---|---|---|
committer | romangraef <roman.graef@gmail.com> | 2018-06-02 10:45:15 +0200 |
commit | 2f9e9884c6b227777780d34b4657c6464dbe4571 (patch) | |
tree | cd9597171dd4338fc5c79dc78d69e016a18f8c7c /static | |
parent | 3dc96e8b31eeef876c89aadf26dbf1e5d3355e7f (diff) | |
download | my-website-master.tar.gz my-website-master.tar.bz2 my-website-master.zip |
Diffstat (limited to 'static')
-rw-r--r-- | static/edit.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/edit.js b/static/edit.js index 41a82ca..93fb743 100644 --- a/static/edit.js +++ b/static/edit.js @@ -2,12 +2,13 @@ function save_changes() { let summary = $("#summary").val(); let description = $("#description").val(); let link = $("#link").val(); + let featured = $("#featured").is(':checked'); let name = $("#name").val(); $.ajax({ url: '.', type: 'POST', data: { - summary, description, link, name + summary, description, link, name, featured }, }).done(function () { let el = document.createElement("p"); |