Fix search filtering so it works on browsers other than Chrome.
This commit is contained in:
parent
7e07f81056
commit
9e80b8b162
@ -10,7 +10,7 @@ body
|
|||||||
user-select: none
|
user-select: none
|
||||||
|
|
||||||
input.worklist-search
|
input.worklist-search
|
||||||
height: 20px
|
height: 25px
|
||||||
background-color: #888888
|
background-color: #888888
|
||||||
|
|
||||||
#tblStudyList
|
#tblStudyList
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
Patient Name
|
Patient Name
|
||||||
</div>
|
</div>
|
||||||
<div class="patient-name-input">
|
<div class="patient-name-input">
|
||||||
<input type="search" class="form-control worklist-search" id="patientName">
|
<input type="text" class="form-control worklist-search" id="patientName">
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
<th>
|
<th>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
Patient ID
|
Patient ID
|
||||||
</div>
|
</div>
|
||||||
<div class="patientid-input">
|
<div class="patientid-input">
|
||||||
<input type="search" class="form-control worklist-search" id="patientId">
|
<input type="text" class="form-control worklist-search" id="patientId">
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
@ -25,7 +25,7 @@
|
|||||||
Accession #
|
Accession #
|
||||||
</div>
|
</div>
|
||||||
<div class="worklist-input">
|
<div class="worklist-input">
|
||||||
<input type="search" class="form-control worklist-search" id="accessionNumber">
|
<input type="text" class="form-control worklist-search" id="accessionNumber">
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
@ -35,7 +35,7 @@
|
|||||||
Study Date
|
Study Date
|
||||||
</div>
|
</div>
|
||||||
<div class="worklist-input">
|
<div class="worklist-input">
|
||||||
<input type="search" class="form-control worklist-search" id="studyDate">
|
<input type="text" class="form-control worklist-search" id="studyDate">
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
@ -45,7 +45,7 @@
|
|||||||
Modality
|
Modality
|
||||||
</div>
|
</div>
|
||||||
<div class="modality-input">
|
<div class="modality-input">
|
||||||
<input type="search" class="form-control worklist-search" id="modality" style="visibility: hidden; ">
|
<input type="text" class="form-control worklist-search" id="modality" style="visibility: hidden; ">
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
@ -54,7 +54,7 @@
|
|||||||
StudyDescription
|
StudyDescription
|
||||||
</div>
|
</div>
|
||||||
<div class="study-description-input">
|
<div class="study-description-input">
|
||||||
<input type="search" class="form-control worklist-search" id="studyDescription" style="visibility: hidden; ">
|
<input type="text" class="form-control worklist-search" id="studyDescription" style="visibility: hidden; ">
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
@ -64,7 +64,7 @@
|
|||||||
# Images
|
# Images
|
||||||
</div>
|
</div>
|
||||||
<div class="worklist-input">
|
<div class="worklist-input">
|
||||||
<input type="search" class="form-control worklist-search" id="numberOfImages" style="visibility: hidden; ">
|
<input type="text" class="form-control worklist-search" id="numberOfImages" style="visibility: hidden; ">
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|||||||
@ -111,8 +111,10 @@ function search() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Template.worklistResult.events({
|
Template.worklistResult.events({
|
||||||
'search': function(event) {
|
'keypress': function(event) {
|
||||||
search();
|
if (event.keyCode === 13) { // Enter
|
||||||
|
search();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'onsearch': function(event) {
|
'onsearch': function(event) {
|
||||||
search();
|
search();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user