Skip to content

Commit

Permalink
fix input field name when not using singleField
Browse files Browse the repository at this point in the history
  • Loading branch information
aehlke committed Nov 25, 2012
1 parent 94d229a commit 5ba933a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/tag-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
this._updateSingleTagsField(tags);
} else {
var escapedValue = label.html();
tag.append('<input type="hidden" style="display:none;" value="' + escapedValue + '" name="' + this.options.itemName + '[' + this.options.fieldName + '][]" />');
tag.append('<input type="hidden" style="display:none;" value="' + escapedValue + '" name="' + this.options.fieldName + '" />');
}

// DEPRECATED.
Expand Down
8 changes: 4 additions & 4 deletions js/tag-it.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5ba933a

Please sign in to comment.