Fix problem in importTags where tag elements were not properly removed due to missing definition of id variable

This commit is contained in:
Ben Brown
2011-11-15 09:45:28 -08:00
parent f40465718b
commit dcc33019ec
+1
View File
@@ -113,6 +113,7 @@
// clear all existing tags and import new ones from a string
$.fn.importTags = function(str) {
id = $(this).attr('id');
$('#'+id+'_tagsinput .tag').remove();
$.fn.tagsInput.importTags(this,str);
}