For the last few days, the nightly builds seem to have stopped showing nesting in the admin Pages tab. The nesting data is preserved - sub-pages are nested properly in the Pages menu. But when trying to drag them around, I get the "no can do" mouse pointer.
I also see some JavaScript errors in the Firefox error console, the one that is an error and not just a warning is:
`
Error: $("#left-to-right").NestedSortable is not a function
Source File: zp-core/zp-extensions/zenpage/admin-pages.php
Line: 553
`
Is this just me? I figured if it was a bug in the nightlies, someone would have noticed and corrected it by now, since surely the developers use every single feature to it's full extent, and thoroughly test each one every single day :-)
Comments
However, in this case I do not see the problem. Not in Firefox, not in IE. Did you by any chance upgrade your version of jQuery or jQueryUI? We know that the jQuery 1.4.2 version breaks the sorting.
`
Error: $("#left-to-right").NestedSortable is not a function
Source File: zp-core/zp-extensions/zenpage/admin-pages.php
Line: 247
`
Different line number for me, however.
I reverted from 1.4.2 to 1.4.1 shortly after the 1.2.9 upgrade per the news item, and I just verified that I am still using 1.4.1.
kagutsuchi - thanks, I'm glad it's not just me! Those are the hardest ones to figure out :-) I think all my source files are in sync (I'm pretty sure I'm not using yesterday's nightlies with some patches from today). If there's anything you want me to try out on this end, just let me know.
As to changes recently that might impact this, the only suspicious one would be the change that made browser comments/cdata brackets around the javascript. Perhaps you can judiciously look at those changes with regard to the album sorting.
Did you want kagutsuchi and I to compare configurations, or us to compare to the trunk?
But I have a new wrinkle. I am seeing this problem on the zenpage pages tab (but still not on the albums tab.)
Edit: reverted to revision 5242 and it doesn't work again. Must be that changeset.
`
`
If you add those first three lines back that were taken out, it works again.
sbilliard - I was not having any problem with Album nesting, only with Pages nesting. So after adding those three lines back in, it all seems to be working fine on my end.
Anyway, the nightly puts the correct version of those lines back in.