|
|
|
@ -171,7 +171,7 @@ public class SwitchAction extends UpdateAction {
|
|
|
|
|
*/ |
|
|
|
|
private boolean backUpOldModeJTemplate() { |
|
|
|
|
JTemplate<?, ?> jTemplate = TemplateTool.getCurrentEditingTemplate(); |
|
|
|
|
if (jTemplate != null && !(jTemplate instanceof NewJForm)) { |
|
|
|
|
if (jTemplate != null && !TemplateTool.isNewJForm(jTemplate)) { |
|
|
|
|
FILE editingFILE = jTemplate.getEditingFILE(); |
|
|
|
|
if (editingFILE != null && editingFILE.exists()) { |
|
|
|
|
try { |
|
|
|
|