I have a page which is breaking on this function:
panel = $($(this).attr('href'));
HTML: <a href="#panel1" class="navigation" title="Panel 1">1</a>
It gives me "Syntax error, unrecognized expression: /" clicking on any navigation item, from the line "panel = $($(this).attr('href'));"
If I have the exact same HTML page outside of Silverstripe it works perfectly.
If I copy the file to say, http://localhost/dev.html and run this inside SilverStripe it's also fine.
But if I run it at http://localhost/dev/ it gives me the Syntax error again. Is is something to do with mod_rewrite? The script even works fine when I'm not running it via a server (just directly in the browser).
Any theories about what's going on here? I've been stuck on this bug for a couple of hours now, would be wonderful to know if there is a fix.