Skip to content

Commit

Permalink
Merge pull request aehlke#91 from jobywalker/master
Browse files Browse the repository at this point in the history
Trigger change event when updating singleFieldNode
  • Loading branch information
aehlke committed Nov 23, 2012
2 parents 564f97c + 77b6f7c commit 0a54ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tag-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@

_updateSingleTagsField: function(tags) {
// Takes a list of tag string values, updates this.options.singleFieldNode.val to the tags delimited by this.options.singleFieldDelimiter
$(this.options.singleFieldNode).val(tags.join(this.options.singleFieldDelimiter));
$(this.options.singleFieldNode).val(tags.join(this.options.singleFieldDelimiter)).trigger('change');
},

_subtractArray: function(a1, a2) {
Expand Down

0 comments on commit 0a54ac8

Please sign in to comment.