Ignore:
Timestamp:
3 Nov 2005, 08:41:59 (19 years ago)
Author:
joachim
Message:

=fixed Title bug in Course and Hall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/add_accommodation.py

    r139 r144  
    3737                                 )
    3838elif psm == 'valid':
    39     oid = "%s" % ds.get('Title').replace(' ','')
     39    oid = "%s" % ds.get('heading').replace(' ','')
    4040    context.invokeFactory(type_name,oid)
    4141    object = getattr(context,oid)
     42    ds.set('title',ds.get('heading'))
    4243    object.getContent().edit(mapping=ds)
    4344    context.notifyCPSDocumentCreation(ob=object)
Note: See TracChangeset for help on using the changeset viewer.