From 0d7e7f2a43c764725cfea5678c7ff8fdececb383 Mon Sep 17 00:00:00 2001 From: "Paula V. Quispe" Date: Thu, 8 Oct 2015 09:00:35 -0400 Subject: [PATCH] EX-236: Error screen to save the template of an output document in IE --- .../engine/xmlform/outputdocs/outputdocs_Edit.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/workflow/engine/xmlform/outputdocs/outputdocs_Edit.xml b/workflow/engine/xmlform/outputdocs/outputdocs_Edit.xml index 30c1e9c61..13cc43202 100755 --- a/workflow/engine/xmlform/outputdocs/outputdocs_Edit.xml +++ b/workflow/engine/xmlform/outputdocs/outputdocs_Edit.xml @@ -17,7 +17,11 @@ if (( _BROWSER.name == 'msie' ) && ( _BROWSER.version < '9' )) { window.close(); } else { - outputdocsEditor.remove(); + if(typeof outputdocsEditor == 'undefined'){ + window.close(); + } else { + outputdocsEditor.remove(); + } } } @@ -29,7 +33,11 @@ if ( typeof outputdocsSave == 'undefined'){ if (( _BROWSER.name == 'msie' ) && ( _BROWSER.version < '9' )) { window.close(); } else { - outputdocsEditor.remove(); + if(typeof outputdocsEditor == 'undefined'){ + window.close(); + } else { + outputdocsEditor.remove(); + } } } }