Branch: Tag:

1998-07-19

1998-07-19 17:55:29 by Per Hedbor <ph@opera.com>

Fixes to 'radio' type wizard elements

Rev: server/base_server/wizard.pike:1.69

1: - /* $Id: wizard.pike,v 1.68 1998/07/17 15:16:24 noring Exp $ + /* $Id: wizard.pike,v 1.69 1998/07/19 17:55:29 per Exp $    * name="Wizard generator";    * doc="This file generats all the nice wizards";    */
72:       case "radio":    m_delete(m,"default"); -  return make_tag("input "+((!id->variables[m->name] && current) || -  (current==m->value)?" checked":""), m); +  if((!id->variables[m->name] && current) || (current==m->value)) +  m->checked="checked"; +  return make_tag("input",m);       case "checkbox":    string res;