We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5276e38 + 69e412d commit e8567a9Copy full SHA for e8567a9
1 file changed
ehr/resources/web/ehr/DataEntryUtils.js
@@ -732,8 +732,12 @@ EHR.DataEntryUtils = new function(){
732
autoLoad: true,
733
listeners: {
734
delay: 100,
735
- load: function(store){
736
- store.getFormularyMap();
+ load: function(store, records, successful) {
+ // 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
+ }
741
}
742
},
743
getFormularyRecords: function(code){
0 commit comments