Ignore:
Timestamp:
16 Jun 2007, 13:22:51 (18 years ago)
Author:
joachim
Message:

id in edit button after save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_directory/getMembersDirectoryActions.py

    r1901 r1906  
    1515request = context.REQUEST
    1616qstring = request.get('QUERY_STRING','')
    17 id = ''
    18 for par in qstring.split('&'):
    19     if par.startswith('id='):
    20         id = par[3:]
     17if qstring:
     18    id = ''
     19    for par in qstring.split('&'):
     20        if par.startswith('id='):
     21            id = par[3:]
     22else:
     23    id = request.form.get('id','')
    2124utool = getToolByName(context, 'portal_url')
    2225dtool = getToolByName(context, 'portal_directories')
     
    2528dirname  = 'members'
    2629dir = getattr(dtool,'members')
    27 
    2830actions_list = (('create_action',
    2931                 'new_entry',
Note: See TracChangeset for help on using the changeset viewer.