Author: jablko
Date: Wed Sep 30 15:23:32 2009
New Revision: 3619

Log:
Clear autocomplete single select value when clearing autocomplete input, fixes 
issue 1037 -- force

Modified:
   trunk/web/js/autocomplete.js

Modified: trunk/web/js/autocomplete.js
==============================================================================
--- trunk/web/js/autocomplete.js        Wed Sep 30 14:45:54 2009        (r3618)
+++ trunk/web/js/autocomplete.js        Wed Sep 30 15:23:32 2009        (r3619)
@@ -447,6 +447,8 @@
                     }
                     else
                     {
+                      $(hidden).val('');
+
                       // If unmatched item is empty, cancel addition of new
                       // single <select> choice
                       $(form).unbind('submit', submit);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to