summaryrefslogtreecommitdiff
path: root/views/new-bookmark.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/new-bookmark.php')
-rw-r--r--views/new-bookmark.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/views/new-bookmark.php b/views/new-bookmark.php
index 6ab0606..7f381ab 100644
--- a/views/new-bookmark.php
+++ b/views/new-bookmark.php
@@ -80,9 +80,7 @@ $(function(){
content: $("#note_content").val(),
category: csv_to_array($("#note_category").val()),
'syndicate-to': syndications
- }, function(data){
- var response = JSON.parse(data);
-
+ }, function(response){
if(response.location != false) {
$("#test_success").removeClass('hidden');