diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-04-29 08:00:07 -0700 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-04-29 08:00:07 -0700 |
commit | 35aa1b78c8c7085a43be556753c6e045d01ce302 (patch) | |
tree | f409866e783216fc917d1654aa4f3c30aff050b4 /views | |
parent | 34819e55efbb2c567e71e52d65da61c36e88ad75 (diff) |
fix when multiple syndication are checked
Diffstat (limited to 'views')
-rw-r--r-- | views/new-post.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/new-post.php b/views/new-post.php index 57b7521..a059ea0 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -213,7 +213,9 @@ $(function(){ } } if(syndications.length > 0) { - formData.append("syndicate-to", syndications); + for(var i in syndications) { + formData.append("syndicate-to[]", syndications[i]); + } } if(v=$("#note_slug").val()) { formData.append("slug", v); |