Skip to content

TagSpaces is an offline, open source, document manager with tagging support

adding hints for the tag names

Ilian7ccc2e7bf8c3
diff --git a/data/index.html b/data/index.html
index 63fd11dca..d0285e236 100644
--- a/data/index.html
+++ b/data/index.html
@@ -367,6 +367,7 @@ can be found in the LICENSE file.
<div class="form-group">
<label class="control-label" for="newTagName">Tag Name</label>
<input class="form-control" type="text" id="newTagName" id="newTagName">
+ <p class="help-block">Tags should have a minimum length of 2 characters and should not contain special characters such as spaces, #, / ,\ and other.</p>
</div>
</div>
<div class="modal-footer">
@@ -388,6 +389,7 @@ can be found in the LICENSE file.
<div class="form-group">
<label class="control-label" for="tags">Tags</label>
<input class="form-control" type="text" name="tags" id="tags" autocomplete="off" placeholder="List of tags"/>
+ <p class="help-block">Tags should have a minimum length of 2 characters and should not contain special characters such as spaces, #, / ,\ and other.</p>
</div>
</div>
<div class="modal-footer">
@@ -409,6 +411,7 @@ can be found in the LICENSE file.
<div class="form-group">
<label class="control-label" for="tagInTreeName">Name</label>
<input class="form-control" type="text" name="tagInTreeName" id="tagInTreeName" />
+ <p class="help-block">Tags should have a minimum length of 2 characters and should not contain special characters such as spaces, #, / ,\ and other.</p>
</div>
<div class="form-group">
<label class="control-label" for="tagColor">Color</label>
@@ -466,7 +469,7 @@ can be found in the LICENSE file.
<div class="form-group">
<label class="control-label" for="newTagTitle">Tags</label>
<input class="form-control" type="text" name="newTagTitle" id="newTagTitle" placeholder="Comma separated list of tags" />
- <p class="help-block">Tags should have a minimum length of 2 characters and should not contain special characters such as spaces, #, / ,\ and other</p>
+ <p class="help-block">Tags should have a minimum length of 2 characters and should not contain special characters such as spaces, #, / ,\ and other.</p>
</div>
</div>
<div class="modal-footer">
diff --git a/data/js/tags.ui.js b/data/js/tags.ui.js
index 0c231a8d2..e3cb75ab0 100644
--- a/data/js/tags.ui.js
+++ b/data/js/tags.ui.js
@@ -10,8 +10,6 @@ define(function(require, exports, module) {
function initUI() {
-
-
$( "#extMenuAddTagAsFilter" ).click( function() {
// TODO search for extension
//TSCORE.Search.searchForString(TSCORE.selectedTag);