From bcfb8731ca342bf3d5b8da0024c273c7adb7c1cb Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Wed, 10 Feb 2016 18:48:57 -0800 Subject: fix sending category as array --- views/new-bookmark.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'views/new-bookmark.php') diff --git a/views/new-bookmark.php b/views/new-bookmark.php index 5590608..00befcc 100644 --- a/views/new-bookmark.php +++ b/views/new-bookmark.php @@ -43,7 +43,7 @@ } echo ''; } else { - ?>
No syndication targets were found on your site. + ?>
No syndication targets were found on your site. You can provide a list of supported syndication targets that will appear as checkboxes here.
@@ -63,10 +63,10 @@ $(function(){ // ctrl-s to save - $(window).on('keydown', function(e){ + $(window).on('keydown', function(e){ if(e.keyCode == 83 && e.ctrlKey){ $("#btn_post").click(); - } + } }); $("#btn_post").click(function(){ @@ -81,7 +81,7 @@ $(function(){ name: $("#note_name").val(), content: $("#note_content").val(), category: $("#note_category").val(), - 'syndicate-to': syndications.join(',') + 'syndicate-to': syndications }, function(data){ var response = JSON.parse(data); -- cgit v1.2.3