]> source.dussan.org Git - archiva.git/commitdiff
remove data-bind if exists fix issues when coming from users grid view
authorOlivier Lamy <olamy@apache.org>
Sun, 1 Jan 2012 19:38:13 +0000 (19:38 +0000)
committerOlivier Lamy <olamy@apache.org>
Sun, 1 Jan 2012 19:38:13 +0000 (19:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226293 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js

index 6e36ca4b60d9a6716ea6a0e1492b300f2314a000..bcbcf753357a0fe7fad82f86575161fc6dc0ba71 100644 (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();