File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff 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 ] ;
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 2525along 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
3131define ('PLUGIN_PROCESSMAKER_MIN_GLPI ' , '9.5 ' );
You can’t perform that action at this time.
0 commit comments