summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/select-country.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/select-country.html b/httemplate/elements/select-country.html
index 45b0ccd5f..e5656dc0c 100644
--- a/httemplate/elements/select-country.html
+++ b/httemplate/elements/select-country.html
@@ -53,8 +53,11 @@ Example:
}
//run the callback
- if ( callback != null )
+ if ( callback != null ) {
callback();
+ } else {
+ <% $pre %>state_changed(what.form.<% $pre %>state);
+ }
}
// go get the new states