]> source.dussan.org Git - nextcloud-server.git/commitdiff
Correct bookmark app : add through interface and remove missing css
authorBrice Maron <brice@bmaron.net>
Sun, 24 Jun 2012 21:24:43 +0000 (21:24 +0000)
committerBrice Maron <brice@bmaron.net>
Sun, 24 Jun 2012 21:24:43 +0000 (21:24 +0000)
apps/bookmarks/ajax/addBookmark.php
apps/bookmarks/templates/addBm.php

index d66aab5896043525635bd529b5aa6b3d54c5ee60..6b5a0f71d4e8bb72c80bde82d0f109f4c437264a 100644 (file)
@@ -31,5 +31,5 @@ OCP\JSON::checkLoggedIn();
 OCP\JSON::checkAppEnabled('bookmarks');
 
 require_once(OC_App::getAppPath('bookmarks').'/bookmarksHelper.php');
-$id = addBookmark($_GET['url'], $_GET['title'], $_GET['tags']);
+$id = addBookmark($_POST['url'], $_POST['title'], $_POST['tags']);
 OCP\JSON::success(array('data' => $id));
\ No newline at end of file
index dbe673f53a8b87a07c221b3a7bb2a8ad3e483956..534bafe58859d38e1870d050abc0c1ef2a069813 100644 (file)
@@ -3,7 +3,6 @@
   <head>  
     <meta charset="utf-8">  
     <title>Read later - ownCloud</title>  
-    <link rel="stylesheet" href="css/readlater.css">  
   </head>
   <body>
        <div class="message"><h1>Saved!</h1></div>