diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-06-14 05:36:38 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2018-06-14 05:36:38 +0300 |
commit | 6a0c96034683b34e632ef576b73be85695d439a3 (patch) | |
tree | 70a8b6e7e471bca7e39fa808d2b2b74ff70552a1 /plugins/SegmentEditor/javascripts | |
parent | 8b5f334e0deb865af56a3b84133b7a7c1575bb1d (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/SegmentEditor/javascripts')
-rw-r--r-- | plugins/SegmentEditor/javascripts/Segmentation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SegmentEditor/javascripts/Segmentation.js b/plugins/SegmentEditor/javascripts/Segmentation.js index fb52e12548..df5cf288d1 100644 --- a/plugins/SegmentEditor/javascripts/Segmentation.js +++ b/plugins/SegmentEditor/javascripts/Segmentation.js @@ -671,7 +671,7 @@ Segmentation = (function($) { ajaxHandler.setCallback(function (response) { self.updateMethod(params); }); - ajaxHandler.send(true); + ajaxHandler.send(); } else { self.updateMethod(params); } |