I don't know what this could be related to, but my first guesses are jquery and coffeescript. I'm running jquery 1.9.1 and coffee-rails 3.2.2 (coffee-script: 2.2.0, coffee-script-source: 1.4.0).
Anyhow, when I click a link with a data-confirm, no confirmation is opening and I'm being sent straight through to the link's href. Stepping through in the debugger, I can see that twitter-bootstrap-rails-confirm's compiled js is exploding here:
I don't know what this could be related to, but my first guesses are jquery and coffeescript. I'm running jquery 1.9.1 and coffee-rails 3.2.2 (coffee-script: 2.2.0, coffee-script-source: 1.4.0).
Anyhow, when I click a link with a
data-confirm
, no confirmation is opening and I'm being sent straight through to the link's href. Stepping through in the debugger, I can see that twitter-bootstrap-rails-confirm's compiled js is exploding here:with the error:
I was able to resolve this by removing the leading and trailing carriage returns inside the string.