Return-Path: Delivered-To: apmail-incubator-beehive-dev-archive@www.apache.org Received: (qmail 40722 invoked from network); 10 Aug 2005 16:13:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 16:13:38 -0000 Received: (qmail 37871 invoked by uid 500); 10 Aug 2005 16:13:37 -0000 Delivered-To: apmail-incubator-beehive-dev-archive@incubator.apache.org Received: (qmail 37846 invoked by uid 500); 10 Aug 2005 16:13:37 -0000 Mailing-List: contact beehive-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list beehive-dev@incubator.apache.org Received: (qmail 37833 invoked by uid 99); 10 Aug 2005 16:13:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2005 09:13:36 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id DDEE1E7 for ; Wed, 10 Aug 2005 18:13:35 +0200 (CEST) Message-ID: <98548761.1123690415907.JavaMail.jira@ajax.apache.org> Date: Wed, 10 Aug 2005 18:13:35 +0200 (CEST) From: "Carlin Rogers (JIRA)" To: beehive-dev@incubator.apache.org Subject: [jira] Assigned: (BEEHIVE-879) collapse/expand tree button does not work for two tree portlets on one page - fix netui-tree.js In-Reply-To: <122220909.1123689457054.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-879?page=all ] Carlin Rogers reassigned BEEHIVE-879: ------------------------------------- Assign To: Rich Feit (was: Carlin Rogers) Assigning to Rich to review for V1. Thanks. > 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: Rich Feit > 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