Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2018-06-14 05:36:38 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2018-06-14 05:36:38 +0300
commit6a0c96034683b34e632ef576b73be85695d439a3 (patch)
tree70a8b6e7e471bca7e39fa808d2b2b74ff70552a1 /plugins/CoreHome/javascripts/dataTable.js
parent8b5f334e0deb865af56a3b84133b7a7c1575bb1d (diff)
Remove usage of synchronous ajax requests (#12546)
* Do not use sync ajax requests * adds deprecation comments * convert some methods to be fully async * adds minimum waittime after page load in ui tests * improve wait times
Diffstat (limited to 'plugins/CoreHome/javascripts/dataTable.js')
-rw-r--r--plugins/CoreHome/javascripts/dataTable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable.js b/plugins/CoreHome/javascripts/dataTable.js
index ccc6bf00a1..a5f3906a0b 100644
--- a/plugins/CoreHome/javascripts/dataTable.js
+++ b/plugins/CoreHome/javascripts/dataTable.js
@@ -275,7 +275,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
});
ajaxRequest.setFormat('html');
- ajaxRequest.send(false);
+ ajaxRequest.send();
},
// Function called when the AJAX request is successful
@@ -1361,7 +1361,7 @@ $.extend(DataTable.prototype, UIControl.prototype, {
}, 'post');
ajaxRequest.setCallback(function () {});
ajaxRequest.setFormat('html');
- ajaxRequest.send(false);
+ ajaxRequest.send();
}
},