[interchange] Add missing state_class to state input

Josh Lavin interchange-cvs at icdevgroup.org
Wed Nov 9 01:15:58 UTC 2016


commit 8de8b067595d7267065975c2510f1fec4c1f9575
Author: Josh Lavin <digory at cpan.org>
Date:   Tue Nov 8 17:15:29 2016 -0800

    Add missing state_class to state input
    
    was already on select

 code/Widget/country_select.widget |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/code/Widget/country_select.widget b/code/Widget/country_select.widget
index 528004a..13347aa 100644
--- a/code/Widget/country_select.widget
+++ b/code/Widget/country_select.widget
@@ -224,7 +224,7 @@ EOF
 		var svary = $v_state_vary\[country];
 		if(! svary) {
 			var val = '';
-			sbox.innerHTML = '<input type="text" size="$size" name="$svar_in" id="$svar_in" value="' + sval + '" onChange="$v_formv.$svar.value = this.value"$extra>';
+			sbox.innerHTML = '<input type="text" size="$size" name="$svar_in" id="$svar_in" value="' + sval + '" onChange="$v_formv.$svar.value = this.value" class="$state_class"$extra>';
 			$v_formv.$svar.value=sval;
 
 			return;



More information about the interchange-cvs mailing list