From 0e21edcc77c854b1935b36bf5ab5c6b7fc9371c2 Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Tue, 13 Dec 2016 16:55:16 +0000 Subject: [PATCH] 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] --- portal/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/portal/index.php b/portal/index.php index a3e262619..502a71155 100644 --- a/portal/index.php +++ b/portal/index.php @@ -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(''); $oP->add(''); - - $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(''); }