Author: jablko
Date: Thu Oct 1 14:17:19 2009
New Revision: 3626
Log:
Avoid showing values for items added with autocomplete while form is submitting
-- force
Modified:
trunk/web/js/autocomplete.js
Modified: trunk/web/js/autocomplete.js
==============================================================================
--- trunk/web/js/autocomplete.js Thu Oct 1 08:01:47 2009 (r3625)
+++ trunk/web/js/autocomplete.js Thu Oct 1 14:17:19 2009 (r3626)
@@ -369,7 +369,7 @@
{
// Make <input> with URI of new resource as its
// value
- $('<input name="' + $(select).attr('name') + '"
value="' + this.contentDocument.location + '"/>').appendTo(li);
+ $('<input name="' + $(select).attr('name') + '"
type="hidden" value="' + this.contentDocument.location + '"/>').appendTo(li);
// Decrement count of listeners and submit if all
// done
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---