From fce349ecaa528bd5aa8a6bedcb1497e7fb27ff2d Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sun, 1 Jan 2012 19:38:13 +0000 Subject: [PATCH] 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 --- .../archiva-webapp-js/src/main/webapp/js/redback/roles.js | 1 + 1 file changed, 1 insertion(+) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js index 6e36ca4b6..bcbcf7533 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js @@ -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(); -- 2.39.5