[Oscarmcmaster-cvscommit] oscar_mcmaster/web/casemgmt CaseManagementEntry.jsp, 1.27, 1.28
open source web-based Electronic Medical Record (EMR) system
Brought to you by:
davidhcchan,
jaygallagher
From: Ted L. <ted...@us...> - 2009-07-15 15:27:35
|
Update of /cvsroot/oscarmcmaster/oscar_mcmaster/web/casemgmt In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1448/web/casemgmt Modified Files: CaseManagementEntry.jsp Log Message: fix writeaccess for issues Index: CaseManagementEntry.jsp =================================================================== RCS file: /cvsroot/oscarmcmaster/oscar_mcmaster/web/casemgmt/CaseManagementEntry.jsp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** CaseManagementEntry.jsp 14 Jul 2009 19:36:18 -0000 1.27 --- CaseManagementEntry.jsp 15 Jul 2009 15:27:31 -0000 1.28 *************** *** 322,327 **** org.oscarehr.casemgmt.web.CheckBoxBean cbb = (org.oscarehr.casemgmt.web.CheckBoxBean)pageContext.getAttribute("issueCheckList"); boolean writeAccess = cbb.getIssueDisplay().isWriteAccess(); ! boolean disabled = !cbb.getIssueDisplay().location.equals("local") ? true : !writeAccess; ! boolean checkBoxDisabled=!cbb.getIssueDisplay().location.equals("local") ? false : disabled; %> <td> --- 322,327 ---- org.oscarehr.casemgmt.web.CheckBoxBean cbb = (org.oscarehr.casemgmt.web.CheckBoxBean)pageContext.getAttribute("issueCheckList"); boolean writeAccess = cbb.getIssueDisplay().isWriteAccess(); ! boolean disabled = !"local".equals(cbb.getIssueDisplay().location) ? true : !writeAccess; ! boolean checkBoxDisabled=!"local".equals(cbb.getIssueDisplay().location)? false : disabled; %> <td> |