Permalink
Browse files

Fix bug specific BoM input id and now use generic input id for custom…

… entry
  • Loading branch information...
Jonathan
Jonathan committed Mar 12, 2012
1 parent 3aabf27 commit cd03a33a0d90fd75b72f86085dc09a92bd811767
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jquery.tokeninput.js
View
@@ -313,7 +313,7 @@ $.TokenList = function (input, url_or_data, settings) {
};
function addCurrentTokenInputValue() {
- var currentTokenInputItem = {"name": $("#token-input-post_tags_labels").val()};
+ var currentTokenInputItem = {"name": $("#" + settings.idPrefix + input.id).val()};
add_token(currentTokenInputItem);
hidden_input.change();
return false;

0 comments on commit cd03a33

Please sign in to comment.