Skip to content

Commit 70691cb

Browse files
committed
Fixed an issue with sumup when used in simplified interface
Set version to 4.4.1
1 parent eeed2b0 commit 70691cb

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

js/cases.js

+6
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ glpi_pm = {
107107
// iframe has been validated then we must validate parent form
108108
//debugger;
109109

110+
// set the content field (description)
111+
if (typeof tinyMCE != 'undefined' && tinyMCE.activeEditor && data.userrequestsumup && data.userrequestsumup != '_') {
112+
let userrequestsumup = data.userrequestsumup.replace(/(\r\n)|(\r)|(\n)/g, '<br>');
113+
tinyMCE.activeEditor.setContent(userrequestsumup);
114+
}
115+
110116
// the GLPI form must be submitted to validate fields
111117
myformjq = $('#' + data.glpi_data.glpi_iframeid).parents('form');
112118
myform = myformjq[0];

processmaker.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<compatibility>9.4</compatibility>
4242
</version>
4343
<version>
44-
<num>4.4.0</num>
44+
<num>4.4.1</num>
4545
<compatibility>9.5</compatibility>
4646
</version>
4747
</versions>

setup.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
2626
--------------------------------------------------------------------------
2727
*/
28-
define('PROCESSMAKER_VERSION', '4.4.0');
28+
define('PROCESSMAKER_VERSION', '4.4.1');
2929

3030
// Minimal GLPI version, inclusive
3131
define('PLUGIN_PROCESSMAKER_MIN_GLPI', '9.5');

0 commit comments

Comments
 (0)