File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,12 @@ glpi_pm = {
107
107
// iframe has been validated then we must validate parent form
108
108
//debugger;
109
109
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
+
110
116
// the GLPI form must be submitted to validate fields
111
117
myformjq = $ ( '#' + data . glpi_data . glpi_iframeid ) . parents ( 'form' ) ;
112
118
myform = myformjq [ 0 ] ;
Original file line number Diff line number Diff line change 41
41
<compatibility >9.4</compatibility >
42
42
</version >
43
43
<version >
44
- <num >4.4.0 </num >
44
+ <num >4.4.1 </num >
45
45
<compatibility >9.5</compatibility >
46
46
</version >
47
47
</versions >
Original file line number Diff line number Diff line change 25
25
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
26
26
--------------------------------------------------------------------------
27
27
*/
28
- define ('PROCESSMAKER_VERSION ' , '4.4.0 ' );
28
+ define ('PROCESSMAKER_VERSION ' , '4.4.1 ' );
29
29
30
30
// Minimal GLPI version, inclusive
31
31
define ('PLUGIN_PROCESSMAKER_MIN_GLPI ' , '9.5 ' );
You can’t perform that action at this time.
0 commit comments