Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions js/cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, '<br>');
tinyMCE.activeEditor.setContent(userrequestsumup);
}

// the GLPI form must be submitted to validate fields
myformjq = $('#' + data.glpi_data.glpi_iframeid).parents('form');
myform = myformjq[0];
Expand Down
4 changes: 2 additions & 2 deletions processmaker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
<compatibility>9.4</compatibility>
</version>
<version>
<num>4.4.0</num>
<num>4.4.1</num>
<compatibility>9.5</compatibility>
</version>
<version>
<num>5.0.0</num>
<num>5.0.1</num>
<compatibility>10.0</compatibility>
</version>
</versions>
Expand Down
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
define('PROCESSMAKER_VERSION', '5.0.0');
define('PROCESSMAKER_VERSION', '5.0.1');

// Minimal GLPI version, inclusive
define('PLUGIN_PROCESSMAKER_MIN_GLPI', '10.0');
Expand Down