Changeset 1639 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
26 Mar 2007, 14:31:22 (18 years ago)
Author:
joachim
Message:

remove "processing in progress" (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/create_level.py

    r1635 r1639  
    3333
    3434if context.hasObject(current_level):
     35    logger.info('%s", level %s already exists' % (student.id,current_level))
    3536    response.redirect("%s/%s" % (context.absolute_url(),current_level))
    3637    return
    3738
    38 if in_progress in ('not started','started'):
    39     session.set('in_progress','started')
    40     view = context.in_progress_view(refresh=20,page='create_level?in_progress=started')
    41     response.setHeader('Content-type','text/html; charset=ISO-8859-15')
    42     response.setHeader('Content-length','%d' % (len(view)))
    43     response.setStatus('OK')
    44     response.write(view)
    45     response.write('')
    46     if in_progress == 'started':
    47         return
     39##if in_progress in ('not started','started'):
     40##    session.set('in_progress','started')
     41##    view = context.in_progress_view(refresh=20,page='create_level?in_progress=started')
     42##    response.setHeader('Content-type','text/html; charset=ISO-8859-15')
     43##    response.setHeader('Content-length','%d' % (len(view)))
     44##    response.setStatus('OK')
     45##    response.write(view)
     46##    response.write('')
     47##    if in_progress == 'started':
     48##        return
    4849   
    4950
Note: See TracChangeset for help on using the changeset viewer.