TagSpaces is an offline, open source, document manager with tagging support
fix color change in groups
kristiyandd1cb8c188df24
diff --git a/data/index.html b/data/index.htmlindex f82e6c672..1d0f72e09 100644--- a/data/index.html+++ b/data/index.html@@ -930,7 +930,7 @@</select></div><div class="form-group">- <div class="col-sm-12 checkbox">+ <div class="checkbox"><label for="colorChangesToAllTags"><input type="checkbox" id="colorChangesToAllTags"><span data-i18n="ns.dialogs:colorChangesToAllTags"></span>diff --git a/data/js/tags.ui.js b/data/js/tags.ui.jsindex 142e2dc94..7403b91cb 100644--- a/data/js/tags.ui.js+++ b/data/js/tags.ui.js@@ -179,7 +179,7 @@ define(function(require, exports, module) {$('#createTagGroupButton').on("click", createTagGroup);$('#editTagGroupButton').click(function() {- TSCORE.Config.editTagGroup(TSCORE.selectedTagData, $('#tagGroupName').val(), $('#editTagGroupBackgroundColorChooser').val(), $('#editTagGroupForegroundColorChooser').val(),checkColorToAllTags);+ TSCORE.Config.editTagGroup(TSCORE.selectedTagData, $('#tagGroupName').val(), $('#editTagGroupBackgroundColor').val(), $('#editTagGroupForegroundColor').val(),checkColorToAllTags);generateTagGroups();});}@@ -663,9 +663,9 @@ define(function(require, exports, module) {$tagColorChooser.simplecolorpicker({picker: false});- $tagColorChooser.on('change', function() {- $tagColor.val($tagColorChooser.val());- });+ $tagColorChooser.on('change', function() {+ $tagColor.val($tagColorChooser.val());+ });if (TSCORE.selectedTagData.color === undefined || TSCORE.selectedTagData.color.length < 1) {$tagColor.val(defaultTagColor);} else {