Merge branch 'pm_wysiwyg'

This commit is contained in:
Gustavo Cruz
2013-01-08 10:43:18 -04:00
5 changed files with 5 additions and 1 deletions

View File

@@ -19,6 +19,7 @@
<JS type="JavaScript"><![CDATA[
function cancel(){
tinyMCE.execCommand('mceRemoveControl',false,'form[OUT_DOC_TEMPLATE]');
outputdocsEditor.remove();
}

View File

@@ -92,6 +92,7 @@ var outputdocsEditor;
}
function outputdocsSave( form ) {
tinyMCE.execCommand('mceRemoveControl',false,'form[OUT_DOC_TEMPLATE]');
form.action = '../outputdocs/outputdocs_Save';
ajax_post( form.action, form, 'POST' );
outputdocsEditor.remove();

View File

@@ -23,6 +23,7 @@
<JS type="javascript" replacetags="1"><![CDATA[
function cancel() {
tinyMCE.execCommand('mceRemoveControl',false,'form[fcontent]');
oPanel.remove();
}

View File

@@ -109,6 +109,7 @@ function editFile(pro_uid, fileName){
function saveFile(pro_uid, fileName){
var fc64 = base64_encode(getField('fcontent').value);
tinyMCE.execCommand('mceRemoveControl',false,'form[fcontent]');
fc64 = fc64.replace(/&amp;/g, "@amp@");
fc64 = fc64.replace(/\+/g, '%2B');