mirror of
https://github.com/wallabag/wallabag.git
synced 2025-03-13 14:42:39 +00:00
can add tags from the saving link popup
This commit is contained in:
parent
cdde19d609
commit
14d98f0611
2 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,8 @@ $.fn.ready(function() {
|
|||
$bagitForm = $('#bagit-form'),
|
||||
$bagitFormForm = $('#bagit-form-form');
|
||||
|
||||
$("#tags2add").hide();
|
||||
|
||||
/* ==========================================================================
|
||||
bag it link and close button
|
||||
========================================================================== */
|
||||
|
@ -78,6 +80,11 @@ $.fn.ready(function() {
|
|||
event.preventDefault();
|
||||
});
|
||||
|
||||
$('#showtaginput').click(function(){
|
||||
$('#tags2add').toggle();
|
||||
});
|
||||
|
||||
|
||||
/* ==========================================================================
|
||||
Keyboard gestion
|
||||
========================================================================== */
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
<a href="javascript: void(null);" id="bagit-form-close" class="close-button--popup close-button">×</a>
|
||||
<input type="hidden" name="autoclose" value="1" />
|
||||
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
||||
<span id="showtaginput">Add tags</span>
|
||||
<input placeholder="tags, with commas" class="addurl" id="tags2add" name="tags" type="text"/>
|
||||
<span id="add-link-result"></span>
|
||||
<input type="submit" value="{% trans "save link!" %}" />
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue