这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.openmrs.api.PatientService;
import org.openmrs.api.context.Context;
import org.openmrs.messagesource.MessageSourceService;
import org.openmrs.web.WebUtil;

/**
* DWR Provider methods. The methods in here are used in the webapp to get data from the database
Expand Down Expand Up @@ -51,7 +52,7 @@ public Vector<Object> findProvider(String name, boolean includeRetired, Integer

if (providerList.size() == 0) {
MessageSourceService mss = Context.getMessageSourceService();
providerListItem.add(mss.getMessage("Provider.noMatchesFound", new Object[] { name }, Context.getLocale()));
providerListItem.add(mss.getMessage("Provider.noMatchesFound", new Object[] { WebUtil.escapeHTML(name) }, Context.getLocale()));
} else {
for (Provider p : providerList) {
providerListItem.add(new ProviderListItem(p));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<input type="hidden" name="_${status.expression}"/>
<input type="checkbox" name="${status.expression}"
<c:if test="${status.value == true}">checked="checked"</c:if>
onClick="toggleLayer('voidReasonIdentifierRow-${identifier}'); if (voidedBoxClicked) voidedBoxClicked(this); "
onClick="toggleLayer('voidReasonIdentifierRow-<c:out value="${identifier}" />'); if (voidedBoxClicked) voidedBoxClicked(this); "
/>
</spring:bind>
</td>
Expand Down
2 changes: 1 addition & 1 deletion omod/src/main/webapp/admin/patients/patientForm.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
<div id="pAddresses">
<div class="tabBar" id="pAddressesTabBar">
<c:forEach var="address" items="${patient.addresses}" varStatus="varStatus">
<a href="javascript:return false;" onClick="return selectTab(this, 'address');" id="address${varStatus.index}" <c:if test="${address.voided}">class='voided'</c:if>><span>${address.cityVillage}</span>&nbsp;</a>
<a href="javascript:return false;" onClick="return selectTab(this, 'address');" id="address${varStatus.index}" <c:if test="${address.voided}">class='voided'</c:if>><span><c:out value="${address.cityVillage}" /></span>&nbsp;</a>
</c:forEach>
<a href="javascript:return false;" onClick="return selectTab(this, 'address');" id="addressTab" style="display: none"><span></span>&nbsp;</a>
<input type="button" onClick="return addNew('address');" class="addNew" id="address" value='<openmrs:message code="Patient.addNewAddress"/>'/>
Expand Down