[Jifty-commit] r1352 - in jifty/trunk: lib/Jifty/Web/Form/Field

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Jun 22 15:56:35 EDT 2006


Author: seanmil
Date: Thu Jun 22 15:56:29 2006
New Revision: 1352

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web/Form/Field/Combobox.pm
   jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm

Log:
 r577 at pc102:  sean | 2006-06-22 15:56:17 -0400
 * Finish backing out r1349 (for real this time).


Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Combobox.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Combobox.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Combobox.pm	Thu Jun 22 15:56:29 2006
@@ -23,7 +23,7 @@
        value="@{[ $self->current_value ]}" 
        type="text" 
        size="30"
-       /><span id="@{[ $self->element_id ]}_Button" 
+       autocomplete="off" /><span id="@{[ $self->element_id ]}_Button" 
        @{[ $self->_widget_class('combo-button')]}
         ></span></span><span style="display: none"></span><select 
         name="@{[ $self->input_name ]}" 

Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Password.pm	Thu Jun 22 15:56:29 2006
@@ -21,9 +21,7 @@
 
 sub current_value {''}
 
-=head2 render_autocomplete
-
-Never render anything for autocompletion.
+=head2 other_widget_properties
 
 No browser-based form auto-completion in password fields ;)
 
@@ -31,7 +29,9 @@
 
 =cut
 
-sub render_autocomplete {''}
+sub other_widget_properties {
+    return q{autocomplete="off"};
+}
 
 =head2 render_value 
 


More information about the Jifty-commit mailing list