mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-01-19 15:52:10 +01:00
Editor fixed.
This commit is contained in:
parent
189135ec69
commit
eea2e7ba57
@ -28,6 +28,6 @@ OC_Util::checkLoggedIn();
|
|||||||
OC_Util::checkAppEnabled('bookmarks');
|
OC_Util::checkAppEnabled('bookmarks');
|
||||||
|
|
||||||
require_once('bookmarksHelper.php');
|
require_once('bookmarksHelper.php');
|
||||||
addBookmark($_GET['url']);
|
addBookmark($_GET['url'], '', 'Read-Later');
|
||||||
|
|
||||||
include 'templates/addBm.php';
|
include 'templates/addBm.php';
|
||||||
|
@ -126,12 +126,12 @@ function updateBookmarksList(bookmark) {
|
|||||||
$('.bookmarks_list').append(
|
$('.bookmarks_list').append(
|
||||||
'<div class="bookmark_single" data-id="' + bookmark.id +'" >' +
|
'<div class="bookmark_single" data-id="' + bookmark.id +'" >' +
|
||||||
'<p class="bookmark_actions">' +
|
'<p class="bookmark_actions">' +
|
||||||
'<span class="bookmark_delete">' +
|
|
||||||
'<img class="svg" src="'+OC.imagePath('core', 'actions/delete')+'" title="Delete">' +
|
|
||||||
'</span> ' +
|
|
||||||
'<span class="bookmark_edit">' +
|
'<span class="bookmark_edit">' +
|
||||||
'<img class="svg" src="'+OC.imagePath('core', 'actions/rename')+'" title="Edit">' +
|
'<img class="svg" src="'+OC.imagePath('core', 'actions/rename')+'" title="Edit">' +
|
||||||
'</span>' +
|
'</span>' +
|
||||||
|
'<span class="bookmark_delete">' +
|
||||||
|
'<img class="svg" src="'+OC.imagePath('core', 'actions/delete')+'" title="Delete">' +
|
||||||
|
'</span> ' +
|
||||||
'</p>' +
|
'</p>' +
|
||||||
'<p class="bookmark_title">'+
|
'<p class="bookmark_title">'+
|
||||||
'<a href="' + encodeEntities(bookmark.url) + '" target="_blank" class="bookmark_link">' + encodeEntities(bookmark.title) + '</a>' +
|
'<a href="' + encodeEntities(bookmark.url) + '" target="_blank" class="bookmark_link">' + encodeEntities(bookmark.title) + '</a>' +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user