| @@ -220,9 +220,9 @@ | ||
| 220 | 220 | jQuery.ajax({ // Start Ajax Sending |
| 221 | 221 | url: wpbm_ajaxurl, |
| 222 | 222 | type:'POST', |
| 223 | 223 | success: function (data, textStatus){if( textStatus == 'success') jQuery('#ajax_respond').html( data );}, |
| 224 | - error:function (XMLHttpRequest, textStatus, errorThrown){ window.status = 'Ajax sending Error status:'+ textStatus; alert(XMLHttpRequest.status + ' ' + XMLHttpRequest.statusText); if ( XMLHttpRequest.status == 500 ) { alert('Error: 500'); } } , | |
| 224 | + 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'); } } , | |
| 225 | 225 | // beforeSend: someFunction, |
| 226 | 226 | data:{ |
| 227 | 227 | action: 'WPBM_USER_SAVE_WINDOW_STATE', |
| 228 | 228 | user_id: us_id , |
| @@ -252,9 +252,9 @@ | ||
| 252 | 252 | jQuery.ajax({ // Start Ajax Sending |
| 253 | 253 | url: wpbm_ajaxurl, |
| 254 | 254 | type:'POST', |
| 255 | 255 | success: function (data, textStatus){if( textStatus == 'success') jQuery('#ajax_respond').html( data );}, |
| 256 | - error:function (XMLHttpRequest, textStatus, errorThrown){ window.status = 'Ajax sending Error status:'+ textStatus; alert(XMLHttpRequest.status + ' ' + XMLHttpRequest.statusText); if ( XMLHttpRequest.status == 500 ) { alert('Error: 500'); } } , | |
| 256 | + 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'); } } , | |
| 257 | 257 | // beforeSend: someFunction, |
| 258 | 258 | data:{ |
| 259 | 259 | action: 'WPBM_USER_SAVE_CUSTOM_DATA', |
| 260 | 260 | user_id: us_id, |