Santi Camps wrote:
> Hi all,
> 
> I have a javascript error using IE6 when trying to view a Navigation
> Porlet with mode cps_portlet_nav_display_dyn_navtree_menu_label    The
> error is not very descriptive, as is usual using that browser:
> "CPSTreeViewEditor is unknown".   Anybody else have the same problem ?
> 
> I've found the problem in CPSPortlets/browser/tree.pt    Changing the
> dynamic load of javascript:
> 
> <script type="text/javascript">
>  function loadScript(id, url) {
>    if (document.getElementById(id))
>        return false;
>    var e = document.createElement("script");
>    e.src = url;
>    e.type="text/javascript";
>    document.getElementsByTagName("head")[0].appendChild(e);
> 
>    return true;
>  }
>  loadScript('prototype', 'prototype.js');
>  loadScript('effect', 'effects.js');
>  loadScript('treeview', '++resource++treenodeview.js');
> </script>
> 
> 
> For a static one:
> 
> <script lang="javascript" src="prototype.js"></script>
> <script lang="javascript" src="effects.js"></script>
> <script lang="javascript" src="++resource++treenodeview.js"></script>
> 
> Solves the problem for me.    Could this be considered a bug ?   If
> yes, I will add the entry and the patch in the bug tracker.

Please, open a ticket and add your patch in there :
http://svn.nuxeo.org/pub/

Thanks.

        J.
-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to