beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Feit (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Resolved: (BEEHIVE-879) collapse/expand tree button does not work for two tree portlets on one page - fix netui-tree.js
Date Mon, 15 Aug 2005 20:05:54 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-879?page=all ]
     
Rich Feit resolved BEEHIVE-879:
-------------------------------

    Resolution: Fixed
     Assign To: Carlin Rogers  (was: Rich Feit)

Committed with revision 232866.  Looks like you got a chance to debug some JavaScript.  :)

Carlin, is this something that can be verified under MockPortal?

> 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


Mime
View raw message