diff --git a/js/cases.js b/js/cases.js
index 6416f6b..5b7f34c 100644
--- a/js/cases.js
+++ b/js/cases.js
@@ -107,6 +107,12 @@ glpi_pm = {
// iframe has been validated then we must validate parent form
//debugger;
+ // set the content field (description)
+ if (typeof tinyMCE != 'undefined' && tinyMCE.activeEditor && data.userrequestsumup && data.userrequestsumup != '_') {
+ let userrequestsumup = data.userrequestsumup.replace(/(\r\n)|(\r)|(\n)/g, '
');
+ tinyMCE.activeEditor.setContent(userrequestsumup);
+ }
+
// the GLPI form must be submitted to validate fields
myformjq = $('#' + data.glpi_data.glpi_iframeid).parents('form');
myform = myformjq[0];
diff --git a/processmaker.xml b/processmaker.xml
index 506ae6e..7a1a239 100644
--- a/processmaker.xml
+++ b/processmaker.xml
@@ -41,7 +41,7 @@
9.4
- 4.4.0
+ 4.4.1
9.5
diff --git a/setup.php b/setup.php
index 8052bfd..9e842ce 100644
--- a/setup.php
+++ b/setup.php
@@ -25,7 +25,7 @@
along with this plugin. If not, see .
--------------------------------------------------------------------------
*/
-define('PROCESSMAKER_VERSION', '4.4.0');
+define('PROCESSMAKER_VERSION', '4.4.1');
// Minimal GLPI version, inclusive
define('PLUGIN_PROCESSMAKER_MIN_GLPI', '9.5');