combine ticket notification scrips, #15353
[freeside.git] / httemplate / elements / select-country.html
index 45b0ccd..e5656dc 100644 (file)
@@ -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