Ignore:
Timestamp:
15 Nov 2006, 17:30:45 (18 years ago)
Author:
joachim
Message:

added owner_guard and clearance_officer_guard
modified waeup_student_wf to use those.

File:
1 edited

Legend:

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

    r858 r870  
    1919cpsdocument_edit_and_view_button = REQUEST.has_key('cpsdocument_edit_and_view_button')
    2020clear_and_validate_button = REQUEST.has_key('clear_and_validate_button')
    21 undo_clear_button = REQUEST.has_key('undo_clear_button')
    2221reject_clearance_button = REQUEST.has_key('reject_clearance_button')
    23 
    2422# Until ajax posts directly to its own script...
    2523##if 'ajax_edit' in REQUEST.form:
     
    5250    elif cpsdocument_edit_and_view_button:
    5351        wftool.doActionFor(info['clear'],'close')
    54         wftool.doActionFor(info['student'],'request_clearance')
     52        wftool.doActionFor(info['student'],'request_clearance',dest_container=1)
    5553    elif clear_and_validate_button:
    5654        wftool.doActionFor(info['student'],'clear_and_validate')
    5755    elif reject_clearance_button:
    5856        wftool.doActionFor(info['clear'],'open')
    59         wftool.doActionFor(info['student'],'enter_clearance_pin')
    60     elif undo_clear_button:
    61         wftool.doActionFor(info['student'],'request_clearance')
     57        wftool.doActionFor(info['student'],'reject_clearance')
    6258else:
    6359    psm = "Please correct your errors."
Note: See TracChangeset for help on using the changeset viewer.