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