mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-12-02 06:24:11 +01:00
Little bookmark improvement
This commit is contained in:
parent
4f6a1c63d0
commit
189135ec69
@ -30,6 +30,9 @@ function getBookmarks() {
|
|||||||
updateBookmarksList(bookmarks.data[i]);
|
updateBookmarksList(bookmarks.data[i]);
|
||||||
$("#firstrun").hide();
|
$("#firstrun").hide();
|
||||||
}
|
}
|
||||||
|
if($('.bookmarks_list').is(':empty')) {
|
||||||
|
$("#firstrun").show();
|
||||||
|
}
|
||||||
|
|
||||||
$('.bookmark_link').click(recordClick);
|
$('.bookmark_link').click(recordClick);
|
||||||
$('.bookmark_delete').click(delBookmark);
|
$('.bookmark_delete').click(delBookmark);
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="bookmarks_list">
|
<div class="bookmarks_list">
|
||||||
</div>
|
</div>
|
||||||
<div id="firstrun">
|
<div id="firstrun" style="display: none;">
|
||||||
<?php
|
<?php
|
||||||
echo $l->t('You have no bookmarks');
|
echo $l->t('You have no bookmarks');
|
||||||
require_once('bookmarklet.php');
|
require_once('bookmarklet.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user