IDEMPIERE-5801 Process Modal Dialog overlapped with Info Window (#1936)

This commit is contained in:
hengsin 2023-07-16 21:28:54 +08:00 committed by GitHub
parent 8034113ccc
commit b04da9dfce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 10 deletions

View File

@ -45,7 +45,6 @@ import org.adempiere.webui.AdempiereWebUI;
import org.adempiere.webui.ClientInfo;
import org.adempiere.webui.LayoutUtils;
import org.adempiere.webui.apps.AEnv;
import org.adempiere.webui.apps.BusyDialog;
import org.adempiere.webui.apps.ProcessModalDialog;
import org.adempiere.webui.apps.WProcessCtl;
import org.adempiere.webui.component.Button;
@ -522,7 +521,6 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
private int cacheStart;
private int cacheEnd;
private boolean m_useDatabasePaging = false;
private BusyDialog progressWindow;
// in case double click to item. this store clicked item (maybe it's un-select item)
private int m_lastSelectedIndex = -1;
protected GridField m_gridfield;
@ -2795,18 +2793,12 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
return -1;
}
private void showBusyDialog() {
progressWindow = new BusyDialog();
progressWindow.setPage(this.getPage());
progressWindow.doHighlighted();
Clients.showBusy(this, Msg.getMsg(Env.getCtx(), "Processing"));
}
private void hideBusyDialog() {
if (progressWindow != null) {
progressWindow.dispose();
progressWindow = null;
}
Clients.clearBusy(this);
}
protected void correctHeaderOrderIndicator() {