Attemp to fixed browser refresh issue.
This commit is contained in:
parent
7276991db9
commit
5a41941d55
|
@ -249,10 +249,14 @@ public class AdempiereWebUI extends Window implements EventListener<Event>, IWeb
|
|||
Object[] objects = new Object[0];
|
||||
objects = collection.toArray(objects);
|
||||
for(Object obj : objects) {
|
||||
try {
|
||||
if (obj instanceof Component) {
|
||||
((Component)obj).detach();
|
||||
rootComponents.add((Component) obj);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
// e.printStackTrace();
|
||||
}
|
||||
}
|
||||
appDesktop.getComponent().detach();
|
||||
DesktopCache desktopCache = ((SessionCtrl)currSess).getDesktopCache();
|
||||
|
|
Loading…
Reference in New Issue