verbb / smith

A Craft CMS plugin to add copy, paste and clone functionality to Matrix blocks.
MIT License
25 stars 9 forks source link

Javascript error: "invalid group specifier name" #8

Closed andypullen closed 4 years ago

andypullen commented 4 years ago

Description

Smith is throwing a javascript error – Invalid regular expression: invalid group specifier name which is causing a jquery TypeError: undefined is not an object (evaluating 'new Craft.Smith.Init'). This is causing the matrix blocks to not finish rendering and the inability to add new blocks.

Steps to reproduce

  1. Open an edit or new Entry page containing a matrix blocks field.

Additional info

engram-design commented 4 years ago

Looks like this is an issue in Safari? Should be fixed in 1.1.5

andypullen commented 4 years ago

I can't believe I didn't test in other browsers! Thanks for catching that. 🍻

engram-design commented 4 years ago

All good, I honestly was about to send a response back saying I couldn't reproduce as I tried all other browsers except Safari. Seems like that was the only one with the issue 👍