@alfresco/aca-shared 4.2.0-5889588283 → 4.2.0-5903018978

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.
@@ -1698,7 +1698,7 @@ class ToolbarMenuItemComponent {
1698
1698
  if (this.hasClickAction(this.actionRef)) {
1699
1699
  this.extensions.runActionById(this.actionRef.actions.click, this.menuId
1700
1700
  ? {
1701
- focusedElementOnCloseSelector: `#${this.menuId.replace(/\./g, '\\.')}`
1701
+ focusedElementOnCloseSelector: `#${this.menuId.replace(/\\/g, '\\\\').replace(/\./g, '\\.')}`
1702
1702
  }
1703
1703
  : undefined);
1704
1704
  }
@@ -1762,7 +1762,7 @@ class ToolbarButtonComponent {
1762
1762
  runAction() {
1763
1763
  if (this.hasClickAction(this.actionRef)) {
1764
1764
  this.extensions.runActionById(this.actionRef.actions.click, {
1765
- focusedElementOnCloseSelector: `#${this.actionRef.id.replace(/\./g, '\\.')}`
1765
+ focusedElementOnCloseSelector: `#${this.actionRef.id.replace(/\\/g, '\\\\').replace(/\./g, '\\.')}`
1766
1766
  });
1767
1767
  }
1768
1768
  }