Need to compare the raw value.
authorJan Schneider <jan@horde.org>
Tue, 25 May 2010 13:26:28 +0000 (15:26 +0200)
committerJan Schneider <jan@horde.org>
Tue, 25 May 2010 13:26:28 +0000 (15:26 +0200)
horde/js/prettyautocomplete.js

index a18b166..f1a3a05 100644 (file)
@@ -263,7 +263,7 @@ var PrettyAutocompleter = Class.create({
     _filterChoices: function(c)
     {
         this.selectedItems.each(function(item) {
-            c = c.without(item.displayValue);
+            c = c.without(item.rawValue);
         });
         return c;
     },