Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ function add_footer_script() {
//alert(form_data);
jQuery.post(ajaxurl, form_data,
function (response) {
alert(response);
alert(response.data);
}
);
});
Expand All @@ -1275,7 +1275,7 @@ function (response) {
// alert(form_data);
jQuery.post(ajaxurl, form_data,
function (response) {
alert(response);
alert(response.data);
jQuery("#support_form .bsf_text_medium, #support_form .bsf_textarea_small").val("");
}
);
Expand Down
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ function display_rating() {
// alert(form_data);
jQuery.post(ajaxurl, form_data,
function (response) {
alert(response);
alert(response.data);
window.location.href = window.location.href;
}
);
Expand Down Expand Up @@ -1452,7 +1452,7 @@ function bsf_display_rating( $n ) {
// alert(form_data);
jQuery.post(ajaxurl, form_data,
function (response) {
alert(response);
alert(response.data);
window.location.href = window.location.href;
}
);
Expand Down