Skip to content

Commit f200e6f

Browse files
remove module type from participant summary
1 parent 12f7113 commit f200e6f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

webroot/adm/oncall/participant-summary.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h5>Participant Related Keysets</h5>
130130
</div>
131131
</div>
132132
<script src="../../js/main.js"></script>
133-
<script type="module" src="../../js/component/participantSummary.js"></script>
133+
<script src="../../js/component/participantSummary.js"></script>
134134
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
135135
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
136136

webroot/js/component/participantSummary.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ function loadAllSitesCallback(result) {
2424
siteList = JSON.parse(result).map((item) => { return { name: item.name, id: item.id, clientTypes: item.clientTypes } });
2525
};
2626

27-
window.setSearchValue = function(searchText) {
27+
function setSearchValue(searchText) {
2828
document.querySelector('#site-search').value = searchText;
2929
resultsElement.style.display = 'none';
3030
document.getElementById('doSearch').click();
31-
};
31+
}
3232

3333
function searchSitesAutocomplete(e) {
3434
const searchString = searchInput.value;
@@ -316,5 +316,3 @@ document.addEventListener('DOMContentLoaded', () => {
316316
});
317317
}
318318
});
319-
320-
export {};

0 commit comments

Comments
 (0)