Browse Source

fix when multiple syndication are checked

pull/52/head
Aaron Parecki 8 years ago
parent
commit
35aa1b78c8
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      views/new-post.php

+ 3
- 1
views/new-post.php View File

@ -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);

Loading…
Cancel
Save