forked from ioncache/Tag-Handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
45 lines (36 loc) · 2.76 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
Revision history for jQuery Tag-Handler plugin
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