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