From 824a806140c80dae2d350613d5301ebadd02b6da Mon Sep 17 00:00:00 2001 From: Matchu Date: Sat, 30 Jul 2011 23:05:55 -0400 Subject: [PATCH] remove ajax-deleted Your Items from the DOM so autocomplete recognizes that its gone --- public/javascripts/closet_hangers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/closet_hangers/index.js b/public/javascripts/closet_hangers/index.js index 01e2d841..d5d7d637 100644 --- a/public/javascripts/closet_hangers/index.js +++ b/public/javascripts/closet_hangers/index.js @@ -119,7 +119,7 @@ } function objectRemoved(objectWrapper) { - objectWrapper.hide(250); + objectWrapper.hide(250, $.proxy(objectWrapper, 'remove')); } function compareItemsByName(a, b) {