Browse Source

Pull request #12533: REPORT-101400 邮件配置调整

Merge in DESIGN/design from ~BRYANT/design:research/11.0 to research/11.0

* commit 'a3b0a768e8e6c487b11aba230250517a62669879':
  REPORT-101400 邮件配置调整
research/11.0
Bryant-赵东升 1 year ago
parent
commit
8bcbea9d77
  1. 5
      designer-base/src/main/java/com/fr/design/javascript/EmailPane.java

5
designer-base/src/main/java/com/fr/design/javascript/EmailPane.java

@ -1,5 +1,6 @@
package com.fr.design.javascript;
import com.fr.base.email.EmailCenter;
import com.fr.config.EmailServerConfig;
import com.fr.design.beans.FurtherBasicBeanPane;
import com.fr.design.constants.UIConstants;
@ -51,7 +52,7 @@ public class EmailPane extends FurtherBasicBeanPane<EmailJavaScript> {
initCenterPane(mainTextLabel, scrollPane, fill, preferred);
this.add(centerPane, BorderLayout.CENTER);
mainTextEditor.setAutoscrolls(true);
checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid());
checkEmailConfig(EmailCenter.isEmailConfigValid());
}
/**
@ -113,7 +114,7 @@ public class EmailPane extends FurtherBasicBeanPane<EmailJavaScript> {
if (showTplContent != null) {
showTplContent.setSelected(ob ==null ? false: ob.isShowTplContent());
}
checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid());
checkEmailConfig(EmailCenter.isEmailConfigValid());
}
@Override

Loading…
Cancel
Save