Ignore:
Timestamp:
17 Jul 2007, 10:30:56 (17 years ago)
Author:
Henrik Bettermann
Message:

make rename applicable to WAeUPDocument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/id_rename.py

    r1724 r2027  
    2525old_ids = REQUEST['ids']
    2626new_ids = REQUEST['new_ids']
    27 new_ids = [id.upper() for id in REQUEST['new_ids']]
     27#new_ids = [id.upper() for id in REQUEST['new_ids']]
    2828
    2929here = context
     
    4141        data = {}
    4242        new_fid = new_ids[old_ids.index(faculty)]
    43         data['faculty'] = new_fid 
     43        data['faculty'] = new_fid
    4444        for sid in student_ids:
    4545            data['id'] = sid
     
    6868
    6969return REQUEST.RESPONSE.redirect(here.absolute_url() + \
    70                                 ('/academics_index?portal_status_message=%s' \
     70                                ('?portal_status_message=%s' \
    7171                                % ('psm_item(s)_renamed',)))
Note: See TracChangeset for help on using the changeset viewer.