Created
June 12, 2009 10:44
-
-
Save timcowlishaw/128568 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
messages: { | |
"profile[terms_and_conditions]": function() { | |
alert("Callback"); | |
//We want to make sure there's a line break after the message for this one. | |
if($("p.t_and_cs br").length == 0) { | |
$("p.t_and_cs strong").before("<br />"); | |
} | |
return("Please agree to the terms and conditions"); | |
}, //etc... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment