IDEMPIERE-5801 Process Modal Dialog overlapped with Info Window (#1936)
This commit is contained in:
parent
8034113ccc
commit
b04da9dfce
|
@ -45,7 +45,6 @@ import org.adempiere.webui.AdempiereWebUI;
|
||||||
import org.adempiere.webui.ClientInfo;
|
import org.adempiere.webui.ClientInfo;
|
||||||
import org.adempiere.webui.LayoutUtils;
|
import org.adempiere.webui.LayoutUtils;
|
||||||
import org.adempiere.webui.apps.AEnv;
|
import org.adempiere.webui.apps.AEnv;
|
||||||
import org.adempiere.webui.apps.BusyDialog;
|
|
||||||
import org.adempiere.webui.apps.ProcessModalDialog;
|
import org.adempiere.webui.apps.ProcessModalDialog;
|
||||||
import org.adempiere.webui.apps.WProcessCtl;
|
import org.adempiere.webui.apps.WProcessCtl;
|
||||||
import org.adempiere.webui.component.Button;
|
import org.adempiere.webui.component.Button;
|
||||||
|
@ -522,7 +521,6 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
||||||
private int cacheStart;
|
private int cacheStart;
|
||||||
private int cacheEnd;
|
private int cacheEnd;
|
||||||
private boolean m_useDatabasePaging = false;
|
private boolean m_useDatabasePaging = false;
|
||||||
private BusyDialog progressWindow;
|
|
||||||
// in case double click to item. this store clicked item (maybe it's un-select item)
|
// in case double click to item. this store clicked item (maybe it's un-select item)
|
||||||
private int m_lastSelectedIndex = -1;
|
private int m_lastSelectedIndex = -1;
|
||||||
protected GridField m_gridfield;
|
protected GridField m_gridfield;
|
||||||
|
@ -2795,18 +2793,12 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void showBusyDialog() {
|
private void showBusyDialog() {
|
||||||
progressWindow = new BusyDialog();
|
Clients.showBusy(this, Msg.getMsg(Env.getCtx(), "Processing"));
|
||||||
progressWindow.setPage(this.getPage());
|
|
||||||
progressWindow.doHighlighted();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void hideBusyDialog() {
|
private void hideBusyDialog() {
|
||||||
if (progressWindow != null) {
|
Clients.clearBusy(this);
|
||||||
progressWindow.dispose();
|
|
||||||
progressWindow = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void correctHeaderOrderIndicator() {
|
protected void correctHeaderOrderIndicator() {
|
||||||
|
|
Loading…
Reference in New Issue