Skip to content

Commit

Permalink
* Fix can't submit GLPI glpi when in SelfService
Browse files Browse the repository at this point in the history
Set version to 5.0.2
  • Loading branch information
tomolimo committed Nov 21, 2023
1 parent 0b63878 commit 564f77e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions js/cases.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion processmaker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
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');
Expand Down

0 comments on commit 564f77e

Please sign in to comment.