EX-236: Error screen to save the template of an output document in IE

This commit is contained in:
Paula V. Quispe
2015-10-08 09:00:35 -04:00
committed by Victor Saisa Lopez
parent d2dc4e650a
commit 28caced5e2

View File

@@ -16,10 +16,14 @@
tinyMCE.execCommand('mceRemoveControl',false,'form[OUT_DOC_TEMPLATE]');
if (( _BROWSER.name == 'msie' ) && ( _BROWSER.version < '9' )) {
window.close();
} else {
if(typeof outputdocsEditor == 'undefined'){
window.close();
} else {
outputdocsEditor.remove();
}
}
}
if ( typeof outputdocsSave == 'undefined'){
function outputdocsSave( form ) {
@@ -28,10 +32,14 @@ if ( typeof outputdocsSave == 'undefined'){
ajax_post( form.action, form, 'POST' );
if (( _BROWSER.name == 'msie' ) && ( _BROWSER.version < '9' )) {
window.close();
} else {
if(typeof outputdocsEditor == 'undefined'){
window.close();
} else {
outputdocsEditor.remove();
}
}
}
}
]]></JS>
</dynaForm>