You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <be...@incubator.apache.org> on 2005/08/10 18:11:36 UTC
[jira] Updated: (BEEHIVE-879) collapse/expand tree button does not work for two tree portlets on one page - fix netui-tree.js
[ http://issues.apache.org/jira/browse/BEEHIVE-879?page=all ]
Carlin Rogers updated BEEHIVE-879:
----------------------------------
Attachment: j879-patch.txt
Patch to fix netui-tree.js. It also does some minor clean up like the attribute errors test for the
netui:base tag and an unused import statement.
> collapse/expand tree button does not work for two tree portlets on one page - fix netui-tree.js
> -----------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-879
> URL: http://issues.apache.org/jira/browse/BEEHIVE-879
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: v1m1, V1Beta
> Reporter: Carlin Rogers
> Assignee: Carlin Rogers
> Priority: Minor
> Fix For: V1
> Attachments: j879-patch.txt
>
> When two portlets with trees are included on one page, collapse/expand tree
> button does not work.
> There is a script tag written referring to netui-tree.js for every tree written out on
> the page. The netui-tree.js file defines the global netUI variable. The script is
> getting included multiple times on a page, the netUI variable keeps getting
> redefined. The tree information is being stored in this variable, and then getting
> wiped out the next time the file is included.
> In netui-tree.js we need to change
> var netUI = new NetUI();
> to
> if (!netUI) {
> var netUI = new NetUI();
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira