Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empt65 #142

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
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
7 changes: 7 additions & 0 deletions api/license-header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
the terms of the Healthcare Disclaimer located at http://openmrs.org/license.

Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
graphic logo is a trademark of OpenMRS Inc.
7 changes: 7 additions & 0 deletions omod/license-header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
the terms of the Healthcare Disclaimer located at http://openmrs.org/license.

Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
graphic logo is a trademark of OpenMRS Inc.
1 change: 1 addition & 0 deletions omod/src/main/webapp/admin/programs/conversionForm.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<openmrs:htmlInclude file="/dwr/util.js" />

<form method="post" id="theForm">

<table>
<tr>
<td><openmrs:message code="Program.conversion.programWorkflow"/>:<span class="required">*</span></td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -851,14 +851,15 @@ function OpenmrsSearch(div, showIncludeVoided, searchHandler, selectionHandler,
attributeValue = rowData.attributes[a.name];
if(attributeValue == null)
attributeValue = '';

rRowData.push(attributeValue);
});
}

for (k in rRowData)
{
rRowData[k] = $j("<div>").text(rRowData[k]).html();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this change part of #141?

Let's not mix PRs or else we'll have to resolve conflicts when they both get merged in.

}
return rRowData;
},

_fireEvent: function(eventType, data) {
//TODO also pass 'this'
},
Expand Down
2 changes: 1 addition & 1 deletion omod/src/main/webapp/template/headerFull.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
</openmrs:forEachAlert>

<c:if test="${msg != null}">
<div id="openmrs_msg"><openmrs:message code="${msg}" text="${msg}" arguments="${msgArgs}" htmlEscape="false" /></div>
<div id="openmrs_msg"><openmrs:message code="<c:out value='${msg}'/>" text="<c:out value='${msg}'/>" arguments="<c:out value='${msgArgs}'/>" htmlEscape="false" /></div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmmacdo4 is working on this as part of EMPT54 in #136

If we get to a general solution there, we might not need this PR.

</c:if>
<c:if test="${err != null}">
<div id="openmrs_error"><openmrs:message code="${err}" text="${err}" arguments="${errArgs}" htmlEscape="false"/></div>
Expand Down
2 changes: 1 addition & 1 deletion omod/src/main/webapp/template/headerMinimal.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<div id="pageBody">
<div id="contentMinimal">
<c:if test="${msg != null}">
<div id="openmrs_msg"><openmrs:message code="${msg}" text="${msg}" arguments="${msgArgs}" htmlEscape="false" /></div>
<div id="openmrs_msg"><openmrs:message code="<c:out value='${msg}'/>" text="<c:out value='${msg}'/>" arguments="<c:out value='${msgArgs}'/>" htmlEscape="false" /></div>
</c:if>
<c:if test="${err != null}">
<div id="openmrs_error"><openmrs:message code="${err}" text="${err}" arguments="${errArgs}"/></div>
Expand Down