Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
mention: show progressbar when mention list is called
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Apr 21, 2015
1 parent e4acd2e commit b3a324d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions public/javascripts/common/yobi.Mention.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,14 @@ yobi.Mention = function(htOptions) {
"url" : htVar.url,
"type" : "get",
"contentType": "application/json",
"dataType" : "json"
}).done(_onLoadUserList);
"dataType" : "json",
"beforeSend" : function() {
NProgress.start();
}
}).done(function(data){
NProgress.done();
_onLoadUserList(data);
});
}

function _onLoadUserList(aData){
Expand Down

0 comments on commit b3a324d

Please sign in to comment.