Browse Source

REPORT-20625 提交校验专题 模板web属性-填报页面设置-填报前事件 删除时弹出框位置在下方

feature/big-screen
hades 5 years ago
parent
commit
74c014f79f
  1. 2
      designer-realize/src/main/java/com/fr/design/webattr/EventPane.java

2
designer-realize/src/main/java/com/fr/design/webattr/EventPane.java

@ -168,7 +168,7 @@ public class EventPane extends BasicPane {
return;
}
int val = JOptionPane.showConfirmDialog(EventPane.this, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Are_You_Sure_To_Delete_The_Data") + "?", "Message",
int val = JOptionPane.showConfirmDialog(SwingUtilities.getWindowAncestor(EventPane.this), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Are_You_Sure_To_Delete_The_Data") + "?", "Message",
JOptionPane.YES_NO_OPTION);
if (val != JOptionPane.YES_OPTION) {
return;

Loading…
Cancel
Save