diff options
author | Golnaz Nilieh <g382nilieh@gmail.com> | 2011-09-13 16:10:52 +0430 |
---|---|---|
committer | Golnaz Nilieh <g382nilieh@gmail.com> | 2011-09-13 16:10:52 +0430 |
commit | 0ff9bc4806bc9296046057b2eadbf29738346b05 (patch) | |
tree | 90e9e119a52d0b0d8cb7ae899c3ae93d9dabb406 /apps/bookmarks/ajax | |
parent | 67addb488244621e3d118f2ee1d0165ba95b95ba (diff) | |
download | nextcloud-server-0ff9bc4806bc9296046057b2eadbf29738346b05.tar.gz nextcloud-server-0ff9bc4806bc9296046057b2eadbf29738346b05.zip |
Add link and other edit information to newly added bookmarks.
Diffstat (limited to 'apps/bookmarks/ajax')
-rw-r--r-- | apps/bookmarks/ajax/addBookmark.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/bookmarks/ajax/addBookmark.php b/apps/bookmarks/ajax/addBookmark.php index 78913f7a132..7cf5baa4a6e 100644 --- a/apps/bookmarks/ajax/addBookmark.php +++ b/apps/bookmarks/ajax/addBookmark.php @@ -75,5 +75,7 @@ if($b_id !== false) { $params = array($b_id, trim($tag)); $query->execute($params); } + + echo json_encode( array( 'status' => 'success', 'data' => $b_id)); } |