Merge pull request #37 from devbrothers/master

Multiple tags-input instances fix
This commit is contained in:
Ben Brown
2012-04-11 13:44:40 -07:00
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -196,8 +196,10 @@
if (settings.hide) {
$(this).hide();
}
var id = $(this).attr('id')
var id = $(this).attr('id');
if (!id || delimiter[$(this).attr('id')]) {
id = $(this).attr('id', 'tags' + new Date().getTime()).attr('id');
}
var data = jQuery.extend({
pid:id,
@@ -324,7 +326,6 @@
});
}
} // if settings.interactive
return false;
});
return this;
+1 -1
View File
File diff suppressed because one or more lines are too long