Nuxeo mailing list archives
[CPS-devel] TreeView error in Internet Explorer
Julien Anguenot
ja at nuxeo.com
Fri Jul 14 09:39:51 CEST 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060714/ec8f8bc3/signature.pgp
More information about the cps-devel
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.