File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,7 @@ contact_form_help: >
21
21
Please do not include any sensitive information in your message.
22
22
This form is meant to help triage inquries and requests for support.
23
23
We will respond within 24-48 hours. If your need is urgent, please use our phone number.
24
+ contact_form_confirmation : >
25
+ Thank you for reaching out to us! We will respond to your message as soon as
26
+ is possible. For urgent requests, please call our phone number.
24
27
copyright_footer : " ©2015 The Black Movement-Law Project. All Rights Reserved."
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ <h3>Email</h3>
127
127
< input type ="text " name ="_gotcha " style ="display:none " />
128
128
< div class ="form-group ">
129
129
< div class ="col-sm-12 ">
130
- < button id ="submit-button " type ="submit " class ="btn btn-primary "> < span class ="fa loading-icon "> </ span > < span > Submit Message</ span >
130
+ < button id ="submit-button " data-submit-success =" {{site.data.texts.contact_form_confirmation}} " type ="submit " class ="btn btn-primary "> < span class ="fa loading-icon "> </ span > < span > Submit Message</ span >
131
131
</ button >
132
132
</ div >
133
133
</ div >
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ $(document).ready(function() {
438
438
. done ( function ( message ) {
439
439
440
440
if ( message . success ) {
441
- $message = message . success ;
441
+ var $message = $ ( '#submit-button' ) . attr ( 'data-submit- success' ) ;
442
442
$theForm . slideUp ( 'medium' , function ( ) {
443
443
$alert . removeClass ( 'alert-danger' ) ;
444
444
$alert . addClass ( 'alert-success' ) . html ( $message ) . slideDown ( 'medium' ) ;
You can’t perform that action at this time.
0 commit comments