[Tickets #14736] Horde_Forms: open section is not preserved

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Nov 17 15:39:01 UTC 2017


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/14736
------------------------------------------------------------------------------
  Ticket           | 14736
  Erstellt Von     | birnbacs at gmail.com
  Zusammenfassung  | Horde_Forms: open section is not preserved
  Warteschlange    | Horde Framework Packages
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


birnbacs at gmail.com (2017-11-17 15:39) hat geschrieben:

I have a form done with the Horde_Form library. The form has several  
sections, each showing an edit button to enter editing mode. When  
changing rendering between inactive and active mode the currently open  
section should be preserved.

It works for submitting (active -> inactive)
It does not work for opening for editing (inactive->active)
It does not work for cancelling editing (active -> inactive)

Doing a getOpenSection() right before renderActive() shows that it is  
invariably the first section that is open.

Trying to debug this further I stumbled over the 'expanded' property  
of a section. Could this be a vestige that once had to do with this?





More information about the bugs mailing list