diff options
Diffstat (limited to 'web-ui/app/js/features')
-rw-r--r-- | web-ui/app/js/features/features.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/app/js/features/features.js b/web-ui/app/js/features/features.js index 1a00658d..04e1fa63 100644 --- a/web-ui/app/js/features/features.js +++ b/web-ui/app/js/features/features.js @@ -16,7 +16,7 @@ */ /* global _ */ 'use strict'; -define([], function() { +define(['helpers/monitored_ajax'], function(monitoredAjax) { var cachedDisabledFeatures; var cachedDispatcherFeatures; @@ -32,7 +32,7 @@ define([], function() { function fetchFeatures() { var features; - $.ajax('/features', { + monitoredAjax(this, '/features', { async: false, success: function (results){ features = results; |