Skip to content

Commit 28d62af

Browse files
committed
fixed issue with autoUpdate when the tag didn't exist before
1 parent 3302d0f commit 28d62af

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Changes

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Revision history for jQuery Tag-Handler plugin
22

3+
1.3.1 2012-09-10
4+
- fixed issue with autoUpdate when the tag didn't exist before
5+
36
1.3.0 2012-05-05
47
- added afterAdd and afterDelete callbacks -- pull request from liddellj
58
- 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

README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
jQuery Tag Handler v1.3.0
1+
jQuery Tag Handler v1.3.1
22
Copyright (C) 2010-2011 Mark Jubenville
33
Mark Jubenville - ioncache@gmail.com
44
http://ioncache.github.com/Tag-Handler

js/jquery.taghandler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
jQuery Tag Handler v1.3.0
2+
jQuery Tag Handler v1.3.1
33
Copyright (C) 2010-2011 Mark Jubenville
44
Mark Jubenville - ioncache@gmail.com
55
http://ioncache.github.com/Tag-Handler
@@ -389,7 +389,7 @@ along with this program. If not, see < http://www.gnu.org/licenses/ >.
389389

390390
if (rc || typeof(rc) == "undefined") {
391391
tags = addTag(this, newTag, tags, opts.sorttags);
392-
if (opts.updateurl !== '' && opts.autoupdate) {
392+
if (opts.updateURL !== '' && opts.autoUpdate) {
393393
saveTags(tags, opts, tagContainer.id);
394394
}
395395
if (opts.autocomplete && typeof($.fn.autocomplete) == 'function' && opts.initload) {

js/jquery.taghandler.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)