|
|
|
@ -344,7 +344,7 @@ public class VcsHelper implements JTemplateActionListener {
|
|
|
|
|
|
|
|
|
|
private void autoSave(JTemplate jt, String currentUsername, String fileName, int nowVersion, boolean replace, VcsOperator operator) { |
|
|
|
|
try { |
|
|
|
|
if (JTemplate.isValid(jt)) { |
|
|
|
|
if (JTemplate.isValid(jt) && !jt.isALLSaved()) { |
|
|
|
|
operator.autoSave(currentUsername, fileName, StringUtils.EMPTY, nowVersion, jt.exportData(), replace); |
|
|
|
|
} |
|
|
|
|
} catch (Exception e) { |
|
|
|
|