remove data-bind if exists fix issues when coming from users grid view

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226293 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-01 19:38:13 +00:00
parent b5d0bd3303
commit fce349ecaa
1 changed files with 1 additions and 0 deletions

View File

@ -120,6 +120,7 @@ $(function() {
displayRolesGrid = function(){
$("#user-messages").html("");
$("#main-content").removeAttr("data-bind");
$("#main-content").html(mediumSpinnerImg());
window.redbackModel.rolesViewModel = new RolesViewModel();
window.redbackModel.rolesViewModel.loadRoles();