Mailing List Archive

[interchange] Add missing state_class to state input
commit 8de8b067595d7267065975c2510f1fec4c1f9575
Author: Josh Lavin <digory@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;

_______________________________________________
interchange-cvs mailing list
interchange-cvs@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs