Update email.
This commit is contained in:
@@ -120,6 +120,7 @@ window.opalestate_messages = function() {
|
||||
function make_ajax ( data, _this ) {
|
||||
$( '.opalestate-message-notify', _this ).remove();
|
||||
var action = $( _this ).data('action')? $( _this ).data('action') : 'send_email_contact';
|
||||
console.log(action)
|
||||
toggle_submit_button( _this );
|
||||
$.ajax({
|
||||
type : 'POST',
|
||||
@@ -135,7 +136,10 @@ window.opalestate_messages = function() {
|
||||
}
|
||||
toggle_submit_button( _this );
|
||||
}
|
||||
}
|
||||
},
|
||||
error: function( response ) {
|
||||
console.log(response)
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -260,4 +264,4 @@ window.opalestate_messages = function() {
|
||||
window.wp = window.wp || {};
|
||||
window.wp.opalestate_messages = opalestate_messages();
|
||||
|
||||
}( jQuery, window ));
|
||||
}( jQuery, window ));
|
||||
|
||||
Reference in New Issue
Block a user