Browse Source

Merge pull request #1710 in BA/design from ~RICHIE/design:feature/10.0 to feature/10.0

* commit 'cde382f86d8ce3926d4fb186b1f08819aa0ed8d2':
  CORE-45 整理邮件服务器配置代码
master
superman 7 years ago
parent
commit
b00068c5ed
  1. 6
      designer_base/src/com/fr/design/javascript/EmailPane.java

6
designer_base/src/com/fr/design/javascript/EmailPane.java

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

Loading…
Cancel
Save