I haven't used 2.2 stable yet. But I'm imagining it is the same error. It's a pretty basic error that not everyone will have. This is because some of us set the base document to our home page or the current URL, and some of us don't.
I'm attaching a new form.php file for 2.2 stable.
The error is pretty basic. On line 274, the href value is #. Setting a link to point to # is always a bad idea for javascript. The href value should be javascript: void(0);
This is because some people set a base document in their template or through SEO components. If the base document is set to the sites root domain, then a link pointing to # will go to site.com/#
piperchick said:Thanks for the fix, Gabe. I have the 2.2 stable build and am getting a big error when I toggle -- the entire lightbox refreshes and I lose my article. This only happens on one of my sites (one was a clean install, one was an upgrade from 2.1 and the one with problems was an upgrade from 2.2 beta).
There is some magic in the code that you posted that stops it from deleting the article, but it also changes the look of the add new item form. Not a big deal, but what you posted is based on a slightly older version.
Have you had any issues with 2.2 stable?