Ignore:
Timestamp:
31 Oct 2007, 14:02:43 (17 years ago)
Author:
Henrik Bettermann
Message:

avoid tracebacks after double-clicking the refect button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/clearance_edit.py

    r2373 r2491  
    8181elif reject_clearance_button:
    8282    logger.info('%s rejected clearance for %s' % (member_id,student_id ))
    83     wftool.doActionFor(info['clear'],'open')
     83    try:
     84        wftool.doActionFor(info['clear'],'open')
     85    except:
     86        return
    8487    wftool.doActionFor(info['student'],'reject_clearance')
    8588    action = "/external_contact_student_form"
Note: See TracChangeset for help on using the changeset viewer.