Merge pull request #169 from tomolimo/5.0/bugfixes

Fix can't submit GLPI glpi when in SelfService
This commit is contained in:
tomolimo
2023-11-21 15:25:42 +01:00
committed by GitHub
3 changed files with 5 additions and 2 deletions

View File

@@ -88,6 +88,9 @@ glpi_pm = {
myform.pm_glpi_form_validate = false;
if (myformjq.attr('data-submitted') != undefined) {
myformjq.attr('data-submitted', 'false');
}
let button = myformjq.find('[name=add][type="submit"]');
myform.requestSubmit(button.length ? button[0] : undefined);
}

View File

@@ -45,7 +45,7 @@
<compatibility>9.5</compatibility>
</version>
<version>
<num>5.0.1</num>
<num>5.0.2</num>
<compatibility>10.0</compatibility>
</version>
</versions>

View File

@@ -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.1');
define('PROCESSMAKER_VERSION', '5.0.2');
// Minimal GLPI version, inclusive
define('PLUGIN_PROCESSMAKER_MIN_GLPI', '10.0');