.
This commit is contained in:
@@ -312,6 +312,14 @@
|
||||
var study_description = dataSet.string('x00081030').toLowerCase();
|
||||
console.log("STUDY", study_description);
|
||||
|
||||
$.ajax({
|
||||
url: `{% url 'generic:examination-autocomplete' %}/${encodeURI(study_description)}`,
|
||||
//context: document.body,
|
||||
success: function(data){
|
||||
console.log(data)
|
||||
}
|
||||
});
|
||||
|
||||
// try to match with a study description (if not already selected)
|
||||
if ($(`#id_examination_to option`).length < 1) {
|
||||
option = $(`#id_examination_from option[title*='${study_description}' i]`);
|
||||
|
||||
Reference in New Issue
Block a user