Bron paper bag fix, should have been part of ref809d10aa.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 17 Sep 2009 21:22:49 +0200
changeset 2941 5d2afe70420d
parent 2940 ef809d10aaf1
child 2942 996e64ba2db8
Bron paper bag fix, should have been part of ref809d10aa.
app/soc/modules/ghop/views/models/program.py
--- a/app/soc/modules/ghop/views/models/program.py	Thu Sep 17 21:09:53 2009 +0200
+++ b/app/soc/modules/ghop/views/models/program.py	Thu Sep 17 21:22:49 2009 +0200
@@ -185,7 +185,7 @@
 
       td_str += str(tds[-1])
 
-      form.fields['task_difficulties'].initial = td_str
+      form.fields['overview_task_difficulties'].initial = td_str
 
     tts = ghop_task_model.TaskTypeTag.get_by_scope(entity)
     if tts:
@@ -195,7 +195,7 @@
 
       tt_str += str(tts[-1])
 
-      form.fields['task_types'].initial = tt_str
+      form.fields['overview_task_types'].initial = tt_str
 
     return super(View, self)._editGet(request, entity, form)