Browse Source

CORE-45 整理邮件服务器配置代码

master
RichieJi 7 years ago
parent
commit
cde382f86d
  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