diff --git a/TODO b/TODO index 6e39e211..915ec28f 100644 --- a/TODO +++ b/TODO @@ -28,8 +28,6 @@ everything related to tags: - tag editing - category (from config.ini) - description - - relations - - handle relations in autocomplete refactors: - add enum validation in IValidatables (needs refactors of enums and diff --git a/public_html/js/Controls/TagInput.js b/public_html/js/Controls/TagInput.js index ea17aec9..3e993868 100644 --- a/public_html/js/Controls/TagInput.js +++ b/public_html/js/Controls/TagInput.js @@ -6,6 +6,7 @@ App.Controls.TagInput = function($underlyingInput) { var jQuery = App.DI.get('jQuery'); var promise = App.DI.get('promise'); var api = App.DI.get('api'); + var tagList = App.DI.get('tagList'); var KEY_RETURN = 13; var KEY_SPACE = 32; @@ -23,7 +24,8 @@ App.Controls.TagInput = function($underlyingInput) { var $wrapper = jQuery('