N.561 Could not add images into the description of a ticket in the legacy portal, and losing images added into the case log (update from the portal, issue occuring when the CRON is enabled)

SVN:trunk[4521]
This commit is contained in:
Romain Quetiez
2016-12-13 16:55:16 +00:00
parent df85186407
commit 0e21edcc77

View File

@@ -600,6 +600,8 @@ EOF
});
EOF
);
// Enable the button to upload images (or cut and paste of images)
$oP->add_ready_script(InlineImage::EnableCKEditorImageUpload($oRequest, utils::GetUploadTempId($oP->GetTransactionId())));
}
else
{
@@ -1147,8 +1149,9 @@ EOF
$oP->add('</table>');
$oP->add('</div>');
$oP->add_ready_script(InlineImage::EnableCKEditorImageUpload($oObj, 'zzzzz'));
// Enable the button to upload images (or cut and paste of images)
$oP->add_ready_script(InlineImage::EnableCKEditorImageUpload($oObj, utils::GetUploadTempId($oP->GetTransactionId())));
$oP->WizardFormEnd();
$oP->add('</div>');
}