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
|
||||
|
||||
input.worklist-search
|
||||
height: 20px
|
||||
height: 25px
|
||||
background-color: #888888
|
||||
|
||||
#tblStudyList
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
Patient Name
|
||||
</div>
|
||||
<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>
|
||||
</th>
|
||||
<th>
|
||||
@ -15,7 +15,7 @@
|
||||
Patient ID
|
||||
</div>
|
||||
<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>
|
||||
</th>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
Accession #
|
||||
</div>
|
||||
<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>
|
||||
</th>
|
||||
{{/unless}}
|
||||
@ -35,7 +35,7 @@
|
||||
Study Date
|
||||
</div>
|
||||
<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>
|
||||
</th>
|
||||
|
||||
@ -45,7 +45,7 @@
|
||||
Modality
|
||||
</div>
|
||||
<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>
|
||||
</th>
|
||||
{{/unless}}
|
||||
@ -54,7 +54,7 @@
|
||||
StudyDescription
|
||||
</div>
|
||||
<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>
|
||||
</th>
|
||||
|
||||
@ -64,7 +64,7 @@
|
||||
# Images
|
||||
</div>
|
||||
<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>
|
||||
</th>
|
||||
{{/unless}}
|
||||
|
||||
@ -111,8 +111,10 @@ function search() {
|
||||
}
|
||||
|
||||
Template.worklistResult.events({
|
||||
'search': function(event) {
|
||||
search();
|
||||
'keypress': function(event) {
|
||||
if (event.keyCode === 13) { // Enter
|
||||
search();
|
||||
}
|
||||
},
|
||||
'onsearch': function(event) {
|
||||
search();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user