forked from wallabag/wallabag
can add tags from the saving link popup
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user