Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 4303

Show
Ignore:
Timestamp:
05/21/08 16:48:41 (8 months ago)
Author:
djazayeri
Message:

Fixing #759 - dashboard.regimen.standardRegimens changes doesn't auto-reload
(This is a bit hacky. The listener should be registered via xml, not in the class. That's not a trivial fix until this whole feature has been thoroughly refactored, though.)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/trunk/src/api/org/openmrs/order/DrugOrderSupport.java

    r4150 r4303  
    4848        public static DrugOrderSupport getInstance() { 
    4949                synchronized (DrugOrderSupport.class) { 
    50                         if (singleton == null) 
     50                        if (singleton == null) { 
    5151                                singleton = new DrugOrderSupport(); 
     52                                Context.getAdministrationService().addGlobalPropertyListener(singleton); 
     53                        } 
    5254        } 
    5355                return singleton;