For example, I made a product out of:

http://plone.org/documentation/tutorial/create-a-2d-image-sorter- based-on-folder_contents-sorting-functionality

.... now I know there is an javascript error console:

I get

node.parentNode is unidefined

on
________________________________

dndSlideSorter.getPos = function(node) {
    var children = node.parentNode.childNodes;
    var pos = 0;
    for (var i=0; i<children.length; i++) {
        if (node == children[i])
            return pos;
        if (hasClassName(children[i], "sortable-cell"))
            pos++;
    }
    return null;
}
______________________________________

Will try to figure it out.....



Den 10. okt. 2008 kl. 12.06 skrev Martijn Pieters:

On Fri, Oct 10, 2008 at 09:40, Espen Moe-Nilssen <[EMAIL PROTECTED]> wrote:
Is there a change in how javascript must be loaded from a template from plone 3.0 to 3.1.5 (for example, has the slot name it must be loaded in
changed) ?
(some of my products has stopped working after upgrading).

Nothing has changed in loading them, but in 3.1 jquery has been
included and most Plone javascript has been rewritten to make use of
this library. We tried to retain backwards compatibility, but it may
be that something broke somewhere anyway.

What products have stopped working? Have you looked at the browser's
javascript error console?

--
Martijn Pieters

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to