| @@ -221,9 +221,9 @@ | ||
| 221 | 221 | jQuery.ajax({ // Start Ajax Sending |
| 222 | 222 | url: wpbc_url_ajax, |
| 223 | 223 | type:'POST', |
| 224 | 224 | success: function (data, textStatus){if( textStatus == 'success') jQuery('#ajax_respond').html( data );}, |
| 225 | - 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');}}, | |
| 225 | + 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');}}, | |
| 226 | 226 | // beforeSend: someFunction, |
| 227 | 227 | data:{ |
| 228 | 228 | // ajax_action : ajax_type_action, // Action |
| 229 | 229 | action : ajax_type_action, // Action |
| @@ -308,9 +308,9 @@ | ||
| 308 | 308 | jQuery.ajax({ // Start Ajax Sending |
| 309 | 309 | url: wpbc_url_ajax, |
| 310 | 310 | type:'POST', |
| 311 | 311 | success: function (data, textStatus){if( textStatus == 'success') jQuery('#ajax_respond').html( data );}, |
| 312 | - 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');}}, | |
| 312 | + 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');}}, | |
| 313 | 313 | // beforeSend: someFunction, |
| 314 | 314 | data:{ |
| 315 | 315 | //ajax_action : ajax_type_action, // Action |
| 316 | 316 | action : ajax_type_action, // Action |
| @@ -357,9 +357,9 @@ | ||
| 357 | 357 | jQuery.ajax({ // Start Ajax Sending |
| 358 | 358 | url: wpbc_url_ajax, |
| 359 | 359 | type:'POST', |
| 360 | 360 | success: function (data, textStatus){if( textStatus == 'success') jQuery('#ajax_respond').html( data );}, |
| 361 | - 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');}}, | |
| 361 | + 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');}}, | |
| 362 | 362 | // beforeSend: someFunction, |
| 363 | 363 | data:{ |
| 364 | 364 | //ajax_action : ajax_type_action, // Action |
| 365 | 365 | action : ajax_type_action, // Action |