Branch: Tag:

2009-04-15

2009-04-15 11:01:50 by Jonas Wallden <jonasw@roxen.com>

Don't add bogus <option> entry in empty multiple select widgets.

Rev: server/base_server/wizard.pike:1.167

2:   // Copyright © 1997 - 2004, Roxen IS.   //   // Wizard generator - // $Id: wizard.pike,v 1.166 2009/04/08 15:51:54 jonasw Exp $ + // $Id: wizard.pike,v 1.167 2009/04/15 11:01:50 jonasw Exp $      /* wizard_automaton operation (old behavior if it isn't defined):   
586:    ({"\\,", "\\:"}),    ({"__CoMma__", "__CoLon__"}));    -  return make_container("select", m2, map(m->choices/",", +  return make_container("select", m2, map(m->choices/"," - ({ "" }),    lambda(string s, array c, mapping m) {    string t;    if(sscanf(s, "%s:%s", s, t) != 2)