Skip to content

Commit

Permalink
Fix return value from Oauth.ajax - need to return an xhr
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmackay committed Dec 11, 2013
1 parent e75206f commit aaa8114
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/UshahidiUI/media/js/app/config/Init.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/UshahidiUI/media/js/app/util/App.oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ define(['backbone', 'jso2/jso2', 'jquery', 'underscore'],
*/
ajax : function()
{
this.provider.ajax.apply(this.provider, arguments);
return this.provider.ajax.apply(this.provider, arguments);
}
};

Expand Down

0 comments on commit aaa8114

Please sign in to comment.