diff options
author | Camil Staps | 2015-05-07 16:50:29 +0300 |
---|---|---|
committer | Camil Staps | 2015-05-07 16:50:29 +0300 |
commit | 3282ddaa098463adc778a2a81f5239769c922f65 (patch) | |
tree | 1a906be1df9603fd585b32bc6222cec6cde5fb75 /src/js/Botleagues.js | |
parent | HTTP authentication (diff) |
Register form + validation
Diffstat (limited to 'src/js/Botleagues.js')
-rw-r--r-- | src/js/Botleagues.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/Botleagues.js b/src/js/Botleagues.js index efc56d8..f9d34b7 100644 --- a/src/js/Botleagues.js +++ b/src/js/Botleagues.js @@ -7,8 +7,8 @@ Botleagues.request = function(user_options, callback) { endpoint: null, method: 'GET', dataType: 'json', - done: function(data) { - callback(data); + complete: function(data) { + callback(data.responseJSON); } }; for (var name in user_options) { |