display a spinner while loading users list

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226423 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-02 14:00:11 +00:00
parent b8dc874fcb
commit 6968cf8897
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ $(function() {
*/
displayUsersGrid=function() {
screenChange();
$("#main-content").html(mediumSpinnerImg());
jQuery("#main-content").attr("data-bind",'template: {name:"usersGrid"}');
window.redbackModel.usersViewModel = new usersViewModel();
window.redbackModel.usersViewModel.loadUsers();