Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 86522 invoked from network); 4 Oct 2004 12:26:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Oct 2004 12:26:45 -0000 Received: (qmail 15373 invoked by uid 500); 4 Oct 2004 12:26:23 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 15294 invoked by uid 500); 4 Oct 2004 12:26:21 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 15239 invoked by uid 99); 4 Oct 2004 12:26:20 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NO_REAL_NAME,UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 04 Oct 2004 05:26:20 -0700 Received: (qmail 28637 invoked by uid 50); 4 Oct 2004 12:28:13 -0000 Date: 4 Oct 2004 12:28:13 -0000 Message-ID: <20041004122813.28636.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@cocoon.apache.org Cc: Subject: DO NOT REPLY [Bug 31527] New: - Test OnTabShownHandlers in form-libs.js fails if none set for tabgroup [PATCH] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=31527 Test OnTabShownHandlers in form-libs.js fails if none set for tabgroup [PATCH] Summary: Test OnTabShownHandlers in form-libs.js fails if none set for tabgroup [PATCH] Product: Cocoon 2 Version: Current CVS 2.1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: CocoonForms AssignedTo: dev@cocoon.apache.org ReportedBy: rberens@osirion.nl The function form_showTab is used for groups of the style tabs and the style choice. If you have both types of groups in your form then onTabShownHandlers ! = null, but onTabShownHandlers[tabgroup] == null for the group with style choice. Therefore the function form_showTab should also test for onTabShownHandlers[tabgroup] != null.