[wwwsearch-commits] r17758 - wwwsearch/ClientForm/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Thu Sep 22 01:30:32 CEST 2005
Author: jjlee
Date: Thu Sep 22 01:30:31 2005
New Revision: 17758
Modified:
wwwsearch/ClientForm/trunk/ClientForm.py
Log:
Clarify comments re resolution of multiple selections in HTML for single-selection list controls
Modified: wwwsearch/ClientForm/trunk/ClientForm.py
==============================================================================
--- wwwsearch/ClientForm/trunk/ClientForm.py (original)
+++ wwwsearch/ClientForm/trunk/ClientForm.py Thu Sep 22 01:30:31 2005
@@ -1969,7 +1969,9 @@
if not o.disabled:
o.selected = True
break
- else: # eliminate any duplicate selected. Choose the last one.
+ else:
+ # Ensure only onr item selected. Choose the last one,
+ # following IE and Firefox.
for o in found[:-1]:
o.selected = False
@@ -2093,8 +2095,9 @@
if not o.disabled:
o.selected = True
break
- elif not self.multiple: # eliminate any duplicate selected.
- # Choose the last one.
+ elif not self.multiple:
+ # Ensure only onr item selected. Choose the last one,
+ # following IE and Firefox.
for o in found[:-1]:
o.selected = False
More information about the wwwsearch-commits
mailing list