Correct bookmark app : add through interface and remove missing css
This commit is contained in:
parent
564cd82599
commit
0fb9d0bf29
2 changed files with 1 additions and 2 deletions
|
@ -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));
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue