summaryrefslogtreecommitdiff
path: root/Postman/Postman-Diagnostic-Test/postman_diagnostics.js
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Diagnostic-Test/postman_diagnostics.js')
-rw-r--r--Postman/Postman-Diagnostic-Test/postman_diagnostics.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/Postman/Postman-Diagnostic-Test/postman_diagnostics.js b/Postman/Postman-Diagnostic-Test/postman_diagnostics.js
deleted file mode 100644
index 140668e..0000000
--- a/Postman/Postman-Diagnostic-Test/postman_diagnostics.js
+++ /dev/null
@@ -1,19 +0,0 @@
-jQuery(document).ready(function() {
- getDiagnosticData();
-});
-
-/**
- */
-function getDiagnosticData() {
- var data = {
- 'action' : 'postman_diagnostics',
- 'security' : jQuery('#security').val()
- };
- jQuery.post(ajaxurl, data, function(response) {
- if (response.success) {
- jQuery('#diagnostic-text').val(response.data.message);
- }
- }).fail(function(response) {
- ajaxFailed(response);
- });
-}