We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f9af76 commit 69e412dCopy full SHA for 69e412d
ehr/resources/web/ehr/DataEntryUtils.js
@@ -734,8 +734,12 @@ EHR.DataEntryUtils = new function(){
734
autoLoad: true,
735
listeners: {
736
delay: 100,
737
- load: function(store){
738
- store.getFormularyMap();
+ load: function(store, records, successful) {
+ // Avoid logging complaints about an empty formulary when the browser navigates away mid-load
739
+ // The store gives the user feedback already for 500 or similar errors from the server
740
+ if (successful) {
741
+ store.getFormularyMap();
742
+ }
743
}
744
},
745
getFormularyRecords: function(code){
0 commit comments