[dev] Re: [cvs] commit: horde/templates/javascript form_sections.js framework/Form Form.php framework/Form/Form Renderer.php

Joel Vandal jvandal at infoteck.qc.ca
Wed Nov 24 13:29:02 PST 2004


Hi,

This patch doesn't solve all my problem.  Only the 1st tab is visible and 
get an error on line 50 of form_sections.js (Undefined variable because 
<form> is undefined).

To solve the problem, I must define the <form> (open), the formOpenSection 
hidden variable and </form> (close) tag.

Index: Form.php
===================================================================
RCS file: /repository/framework/Form/Form.php,v
retrieving revision 1.304
diff -r1.304 Form.php
464a465,470
>         $renderer->open(null, 'get', $this->getName(), null);
>
>         if (count($this->_sections)) {
>             $this->_preserveVarByPost('__formOpenSection', 
> $this->getOpenSection());
>         }
>
467a474,475
>         $renderer->close();
>


--
Joel Vandal

----- Original Message ----- 
From: "Jan Schneider" <jan at horde.org>
To: <cvs at lists.horde.org>
Sent: Wednesday, November 24, 2004 1:36 PM
Subject: [cvs] commit: horde/templates/javascript form_sections.js 
framework/Form Form.php framework/Form/Form Renderer.php


> jan         2004-11-24 10:36:49 PST
>
>  Modified files:
>    templates/javascript form_sections.js
>    Form                 Form.php
>    Form/Form            Renderer.php
>  Log:
>  Make new tab selection code work with inactive forms.
>  Bug: 882
>
>  Revision  Changes    Path
>  1.303     +6 -9      framework/Form/Form.php
>  1.184     +32 -11    framework/Form/Form/Renderer.php
>  1.10      +10 -5     horde/templates/javascript/form_sections.js
>
>  Chora Links:
> 
> http://cvs.horde.org/diff.php/framework/Form/Form.php?r1=1.302&r2=1.303&ty=u
> 
> http://cvs.horde.org/diff.php/framework/Form/Form/Renderer.php?r1=1.183&r2=1.184&ty=u
> 
> http://cvs.horde.org/diff.php/horde/templates/javascript/form_sections.js?r1=1.9&r2=1.10&ty=u
>
> -- 
> To unsubscribe, mail: cvs-unsubscribe at lists.horde.org
> 



More information about the dev mailing list