The reference to the "livepreview" element seems to be part of the latest v3.0.x jspwiki-edit.js. (andrew change the snekapreview name to livepreview)
The jspwiki-edit.js version of v2.8.x doesn't containt that code. Could it be that some v3.0.x stuff has slipped on the *.jspwiki.org sites ? dirk On Fri, Apr 10, 2009 at 11:57 AM, Harry Metske <[email protected]> wrote: > Just discovered on www.jspwiki.org and sandbox.jspwiki.org: > > When you enable section editing, you cannot save the page anymore. You can > still edit it, but both preview and save result in the old page version > being displayed. > > The following javascript error pops up when editing a page : > > Error: $("livepreview") is null > Source File: http://sandbox.jspwiki.org/scripts/jspwiki-edit.js > Line: 1 > > Turning off Section Editing bypasses the problem. > > Also Sneak Preview does not work (both with and without Section Editing, > don't know if that's related. > > > The problem occurs both on www.jspwiki.og as > sandbox.jspwiki.org(2.8.3-svn-4), but not on one of my own wiki's > (2.8.2). > Browser is Firefox 3.0.8 on Ubuntu Linux 8.10. > > I already cleared my browser cache and refreshed the page. > > Could this be a bug or an environmental error ? > > > /Harry >
