| @@ -18,16 +18,16 @@ | ||
| 18 | 18 | { |
| 19 | 19 | type: 'POST', |
| 20 | 20 | dataType: 'text', |
| 21 | 21 | async:false, |
| 22 | - url: PXLBSADMINIFY_ERROR_LOGS.ajax_url, | |
| 22 | + url: WPAdminify_ErrorL.ajax_url, | |
| 23 | 23 | data: { |
| 24 | - action: 'pxlbsadminify_error_log_content_refresh', | |
| 25 | - security: PXLBSADMINIFY_ERROR_LOGS.security_nonce, | |
| 24 | + action: 'jltwp_adminify_error_log_content_refresh', | |
| 25 | + security: WPAdminify_ErrorL.security_nonce, | |
| 26 | 26 | command: 'refresh_error_log', |
| 27 | 27 | }, |
| 28 | 28 | beforeSend: function () { |
| 29 | - $( '#adminify_error_log_refresh' ).text( PXLBSADMINIFY_ERROR_LOGS.label_update ); | |
| 29 | + $( '#adminify_error_log_refresh' ).text( WPAdminify_ErrorL.label_update ); | |
| 30 | 30 | }, |
| 31 | 31 | cache: false, |
| 32 | 32 | success: function (data){ |
| 33 | 33 | var refresh_content = $.parseJSON( data ); |
| @@ -33,9 +33,9 @@ | ||
| 33 | 33 | var refresh_content = $.parseJSON( data ); |
| 34 | 34 | // Refresh the textarea content |
| 35 | 35 | $( "textarea#adminify_error_log_area" ).val( refresh_content.file_content ); |
| 36 | 36 | // // Change the button text |
| 37 | - $( '#adminify_error_log_refresh' ).html( PXLBSADMINIFY_ERROR_LOGS.label_done ); | |
| 37 | + $( '#adminify_error_log_refresh' ).html( WPAdminify_ErrorL.label_done ); | |
| 38 | 38 | |
| 39 | 39 | // // Set button text to start text |
| 40 | 40 | setTimeout( function () { $( '#adminify_error_log_refresh' ).html( tempLabel ); }, 1500 ); |
| 41 | 41 | }, |
| @@ -63,17 +63,17 @@ | ||
| 63 | 63 | { |
| 64 | 64 | type: 'POST', |
| 65 | 65 | dataType: 'text', |
| 66 | 66 | async:false, |
| 67 | - url: PXLBSADMINIFY_ERROR_LOGS.ajax_url, | |
| 67 | + url: WPAdminify_ErrorL.ajax_url, | |
| 68 | 68 | data: { |
| 69 | - action: 'pxlbsadminify_error_log_content_clear', | |
| 70 | - security: PXLBSADMINIFY_ERROR_LOGS.security_nonce, | |
| 69 | + action: 'jltwp_adminify_error_log_content_clear', | |
| 70 | + security: WPAdminify_ErrorL.security_nonce, | |
| 71 | 71 | command: 'clear_error_log', |
| 72 | 72 | }, |
| 73 | 73 | beforeSend: function () { |
| 74 | 74 | // Clearing button text |
| 75 | - $( '#adminify_error_log_clear' ).html( PXLBSADMINIFY_ERROR_LOGS.label_clear ); | |
| 75 | + $( '#adminify_error_log_clear' ).html( WPAdminify_ErrorL.label_clear ); | |
| 76 | 76 | }, |
| 77 | 77 | cache: false, |
| 78 | 78 | success: function (data) { |
| 79 | 79 | // Refresh the textarea content |
| @@ -79,9 +79,9 @@ | ||
| 79 | 79 | // Refresh the textarea content |
| 80 | 80 | $( "textarea#adminify_error_log_area" ).val( data.file_content ); |
| 81 | 81 | |
| 82 | 82 | // Change the button text |
| 83 | - $( '#adminify_error_log_clear' ).html( PXLBSADMINIFY_ERROR_LOGS.label_done ); | |
| 83 | + $( '#adminify_error_log_clear' ).html( WPAdminify_ErrorL.label_done ); | |
| 84 | 84 | |
| 85 | 85 | // Set button text to start text |
| 86 | 86 | setTimeout( function () { $( '#adminify_error_log_clear' ).html( tempLabel ); }, 1500 ); |
| 87 | 87 | }, |