Skip to content

Commit e8567a9

Browse files
Merge 25.3 to 25.6
2 parents 5276e38 + 69e412d commit e8567a9

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

ehr/resources/web/ehr/DataEntryUtils.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -732,8 +732,12 @@ EHR.DataEntryUtils = new function(){
732732
autoLoad: true,
733733
listeners: {
734734
delay: 100,
735-
load: function(store){
736-
store.getFormularyMap();
735+
load: function(store, records, successful) {
736+
// Avoid logging complaints about an empty formulary when the browser navigates away mid-load
737+
// The store gives the user feedback already for 500 or similar errors from the server
738+
if (successful) {
739+
store.getFormularyMap();
740+
}
737741
}
738742
},
739743
getFormularyRecords: function(code){

0 commit comments

Comments
 (0)