X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-country.html;h=e5656dc0c0ce4ab256487e2f580a1ce01c922ab3;hb=08d132eca6a97c3417dc0f13bb603f080bd0e222;hp=45b0ccd5fc37ddfe5d4f88c47a0a05d290b75a65;hpb=20bddf47a41b6d064b3cfa4c41e55c157cf0c3de;p=freeside.git 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