Bug fix pertaining to over-escaping tags.

This commit is contained in:
Ben Brown
2011-04-28 16:49:49 -05:00
parent e227153125
commit ba418a2092
2 changed files with 23 additions and 2 deletions
+2 -1
View File
@@ -64,6 +64,7 @@
jQuery.fn.removeTag = function(value) {
value = unescape(value);
this.each(function() {
id = $(this).attr('id');
@@ -73,7 +74,7 @@
$('#'+id+'_tagsinput .tag').remove();
str = '';
for (i=0; i< old.length; i++) {
if (escape(old[i])!=value) {
if (old[i]!=value) {
str = str + delimiter[id] +old[i];
}
}
+21 -1
View File
File diff suppressed because one or more lines are too long