[hg] galaxy 3731: forms default value bug fixed
details: http://www.bx.psu.edu/hg/galaxy/rev/5f93447d642d changeset: 3731:5f93447d642d user: rc date: Mon May 03 09:42:51 2010 -0400 description: forms default value bug fixed diffstat: lib/galaxy/web/controllers/forms.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r e12587356892 -r 5f93447d642d lib/galaxy/web/controllers/forms.py --- a/lib/galaxy/web/controllers/forms.py Mon May 03 09:34:13 2010 -0400 +++ b/lib/galaxy/web/controllers/forms.py Mon May 03 09:42:51 2010 -0400 @@ -565,7 +565,7 @@ # helptext self.helptext.value = field['helptext'] # default value - self.default.value = field.get('default', TextField('field_default_'+str(index), 40, '')) + self.default.value = field.get('default', '') # type self.fieldtype = SelectField('field_type_'+str(self.index), refresh_on_change=True,
participants (1)
-
Nate Coraor