forked from ioncache/Tag-Handler
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Changes
61 lines (52 loc) · 3.78 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Revision history for jQuery Tag-Handler plugin
2.0.0 2013-xx-xx
- refactored codebase
- added method addTag to add a tag to active tagHandler
- added method removeTag to remove an active tag from the list
- added method addOption to add a new available tag
- added method removeOption to remove a currently available tag
- added method destory to remove an active tagHandler and restore container to it original state
- added method reload to reinitialize an active tagHandler
- added option jqueryTheme so tagHandler will now use Jquery Ui theme roller for the theme is set to true. default will use existing tagHandler theme.
- moved storing all tags to the jquery data object instead of in the dom
- added hotkey <tab> for completing tag entry
- added example/demo page to the package
- fixed autocomplete initiation
- added the ability to add tags from existing li's inside the ul container.
- added msgMaxTags option to translate or change the max allowed error message
- added onIsValid method for custom validation methods.
1.3.1 2012-09-10
- fixed issue with autoUpdate when the tag didn't exist before
1.3.0 2012-05-05
- added afterAdd and afterDelete callbacks -- pull request from liddellj
- fixed issue where adding html reserved characters (<> etc) were bing interpreted as HTML -- now using .text() instead of .html() to read/write tags -- reported by bull5_i oin Disqus comments
- fixed issue where hitting backspace to remove a tag does not actually delete the tag from the tag list, nor did it return the tag text in the onDelete callback -- issue reported by Eduardo Pereira from Disqus comments
- fixed some syntax and scope errors after linting
1.2.1 2011-12-11
- modified the code for the onAdd & onDelete callbacks to ensure the tag name was being properly being passed to the functions
1.2.0 2011-12-11
- added plugin convenience methods
- getTags: returns an array of tags
- getSerializedTags: returns comma separated string of tags
- added options for callback functions onAdd & onDelete -- these execute after adding or deleting a tag (ryanhollister -- issue #6)
- modified the way that the ajax retrieval of tags from the server when initLoad is set to false expects returned data to be more in line with the rest of the AJAX calls -- the server must now return an object with an availableTags array just like the other ajax calls or the regualr tag setup
*** NOTE ***: this is not backwards compatible with previous versions of the Tag-Handler (although I'm not sure how well used this functionality is anyhow)
- fixed: issue with the getData & updateData options which were being initalized as strings instead of objects (sebpiq )
1.1.0 2011-03-29
- added maxTags option to limit the maximum number of tags allowed
- added check for all autocomplete functions to ensure that jQueryUI autocomplete is enabled
- added maxTags option to limit number of tags -- set to 0 for unlimited (default)
- saved $(tagContainer) to a variable to save on some jQuery function calls
1.0.3 2011-02-09
- Shortened the name of the messageNoPermissionNewTag and messageErrorLoading options down to msgNoNewTag and msgError (as was shown in the README).
- Merged in change to the delegate function from Pierre Giraud
- Renamed the tagDebug internal method to just debug.
1.0.2 2010-12-13
- Added the possibility of autocompleting the tag list as the user writes, instead of loading all the tags at the beginning.
- Option to restrict if the user can create new tags
- Added several options to customize the messages
1.0.1 2010-10-20
- Fixed a typo bug that was introduced at some point where the tag box's
autocomplete would no longer work.
1.0.0 2010-07-08
- initial release