| @@ -415,9 +415,9 @@ | ||
| 415 | 415 | jQuery.ajax({ // Start Ajax Sending |
| 416 | 416 | url: wpbc_url_ajax, |
| 417 | 417 | type:'POST', |
| 418 | 418 | success: function (data, textStatus){if( textStatus == 'success') jQuery('#ajax_respond').html( data );}, |
| 419 | - error:function (XMLHttpRequest, textStatus, errorThrown){ window.status = 'Ajax sending Error status:'+ textStatus; alert(XMLHttpRequest.status + ' ' + XMLHttpRequest.statusText); if ( XMLHttpRequest.status == 500 ) { alert('Error: 500'); } } , | |
| 419 | + error:function (XMLHttpRequest, textStatus, errorThrown){ window.status = 'Ajax sending Error status:'+ textStatus; console.error( XMLHttpRequest.status + ' ' + XMLHttpRequest.statusText); if ( XMLHttpRequest.status == 500 ) { console.error( 'Error: 500'); } } , | |
| 420 | 420 | // beforeSend: someFunction, |
| 421 | 421 | data:{ |
| 422 | 422 | action: 'USER_SAVE_CUSTOM_DATA', |
| 423 | 423 | user_id: us_id, |
| @@ -794,9 +794,9 @@ | ||
| 794 | 794 | jQuery.ajax({ // Start Ajax Sending |
| 795 | 795 | url: wpbc_url_ajax, |
| 796 | 796 | type:'POST', |
| 797 | 797 | success: function (data, textStatus){if( textStatus == 'success') jQuery('#ajax_respond').html( data );}, |
| 798 | - error:function (XMLHttpRequest, textStatus, errorThrown){window.status = 'Ajax sending Error status:'+ textStatus;alert(XMLHttpRequest.status + ' ' + XMLHttpRequest.statusText);if (XMLHttpRequest.status == 500) {alert('Please check at this page according this error:' + ' https://wpbookingcalendar.com/faq/#ajax-sending-error');}}, | |
| 798 | + error:function (XMLHttpRequest, textStatus, errorThrown){window.status = 'Ajax sending Error status:'+ textStatus;console.error( XMLHttpRequest.status + ' ' + XMLHttpRequest.statusText);if (XMLHttpRequest.status == 500) {console.error( 'Please check at this page according this error:' + ' https://wpbookingcalendar.com/faq/#ajax-sending-error');}}, | |
| 799 | 799 | // beforeSend: someFunction, |
| 800 | 800 | data:{ |
| 801 | 801 | //ajax_action : 'USER_SAVE_WINDOW_STATE', |
| 802 | 802 | action : 'USER_SAVE_WINDOW_STATE', |