zack 8 years ago
parent
commit
a892386340
  1. 2
      designer_base/src/com/fr/env/RemoteEnv.java
  2. 7
      designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

2
designer_base/src/com/fr/env/RemoteEnv.java vendored

@ -2145,6 +2145,6 @@ public class RemoteEnv implements Env {
} finally {
StableUtils.deleteFile(zip);
}
return null;
return new File[0];
}
}

7
designer_form/src/com/fr/design/mainframe/FormWidgetDetailPane.java

@ -14,6 +14,7 @@ import com.fr.design.utils.gui.GUICoreUtils;
import com.fr.form.share.ShareConstants;
import com.fr.form.share.ShareLoader;
import com.fr.form.ui.ElCaseBindInfo;
import com.fr.general.FRLogger;
import com.fr.general.Inter;
import com.fr.general.SiteCenter;
import com.fr.stable.StringUtils;
@ -227,7 +228,7 @@ public class FormWidgetDetailPane extends FormDockView{
try {
Desktop.getDesktop().browse(new URI(url));
} catch (IOException exp) {
JOptionPane.showMessageDialog(null, Inter.getLocText("Set_default_browser"));
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Designer_Set_default_browser"));
FRContext.getLogger().errorWithServerLevel(exp.getMessage(), exp);
} catch (URISyntaxException exp) {
FRContext.getLogger().errorWithServerLevel(exp.getMessage(), exp);
@ -303,7 +304,7 @@ public class FormWidgetDetailPane extends FormDockView{
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_OK"));
} catch (IOException e) {
JOptionPane.showMessageDialog(null, Inter.getLocText("FR-Share_Module_Error"));
e.printStackTrace();
FRLogger.getLogger().error(e.getMessage(), e);
}
}
@ -312,7 +313,7 @@ public class FormWidgetDetailPane extends FormDockView{
try {
ShareLoader.getLoader().refreshModule();
} catch (Exception e) {
e.printStackTrace();
FRLogger.getLogger().error(e.getMessage(), e);
}
}

Loading…
Cancel
Save