Fixed an issue with sumup when used in simplified interface
Set version to 5.0.1
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -25,7 +25,7 @@ You should have received a copy of the GNU General Public License
|
||||
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');
|
||||
|
||||
Reference in New Issue
Block a user