pict-section-form 1.0.172 → 1.0.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pict-section-form",
3
- "version": "1.0.172",
3
+ "version": "1.0.173",
4
4
  "description": "Pict dynamic form sections",
5
5
  "main": "source/Pict-Section-Form.js",
6
6
  "directories": {
@@ -409,9 +409,9 @@ class CustomInputHandler extends libPictSectionInputExtension
409
409
  onAfterEventCompletion(pView, pInput, pValue, pHTMLSelector, pEvent, pTransactionGUID)
410
410
  {
411
411
  const tmpPayload = typeof pEvent === 'string' ? pEvent : '';
412
- let [ tmpType, tmpGroupHash ] = tmpPayload.split(':');
412
+ const [ tmpType, tmpGroupHash ] = tmpPayload.split(':');
413
413
 
414
- if (pInput.PictForm.TriggerGroupHash !== tmpGroupHash)
414
+ if (tmpType !== 'TriggerGroup' || !tmpGroupHash || pInput.PictForm.TriggerGroupHash !== tmpGroupHash)
415
415
  {
416
416
  return super.onAfterEventCompletion(pView, pInput, pValue, pHTMLSelector, pEvent, pTransactionGUID);
417
417
  }