Index: lams_admin/web/policies/policies.jsp =================================================================== diff -u -r4c134bb552fd30a24e610ddd532846ec38a3a51c -r86521284ae546f32e01ae0a6bc1dfb99232d19cd --- lams_admin/web/policies/policies.jsp (.../policies.jsp) (revision 4c134bb552fd30a24e610ddd532846ec38a3a51c) +++ lams_admin/web/policies/policies.jsp (.../policies.jsp) (revision 86521284ae546f32e01ae0a6bc1dfb99232d19cd) @@ -27,137 +27,51 @@ 'data' : { 'orgID' : "orgID" }, - 'height' : 600, + 'height' : 500, 'width' : 600, 'title' : "", 'open' : function() { $('iframe', this).attr('src', url); } }, true, exists); }); + + //handler for "change-status" links + $(document).on("click", ".change-status-link", function() { + var policyUid = $(this).data("policy-uid"); + var policyId = $(this).data("policy-id"); + + $("#policy-table").load( + "policyManagement.do", + { + method: "togglePolicyStatus", + policyUid: policyUid, + policyId: policyId, + viewPreviousVersions: "${viewPreviousVersions}" + }, + function() {} + ); + }); + });

- +

- - - - - +
+ <%@ include file="policyTable.jsp"%> +
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${fn:length(policy.consents)}/${userCount} - - - - - - - - - - - - - - - - - - 2 - - - - 1 - - - -    - - - - - - - -    - - - - - - - - -
- - +