Branch: Tag:

2004-06-25

2004-06-25 12:58:32 by Jonas Wallden <jonasw@roxen.com>

Don't output duplicate id attributes for hidden checkbox variables.

Rev: server/base_server/wizard.pike:1.151

2:   // Copyright © 1997 - 2001, Roxen IS.   //   // Wizard generator - // $Id: wizard.pike,v 1.150 2004/06/01 09:59:07 jonasw Exp $ + // $Id: wizard.pike,v 1.151 2004/06/25 12:58:32 jonasw Exp $      /* wizard_automaton operation (old behavior if it isn't defined):   
171:    res=make_tag("input",m);    m->type="hidden"; // Yes, this hidden var is needed! Cleared boxes may    m->value="0"; // otherwise revert to their initial set state. +  m_delete(m, "id"); // Can't have the same ID twice    return res+make_tag("input", m);       case "int":