Changeset 3332 for WAeUP_SRP


Ignore:
Timestamp:
14 Mar 2008, 17:18:45 (17 years ago)
Author:
joachim
Message:

fix filename for IE upload (in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_upload/uploads_index.py

    r3331 r3332  
    131131    elif psm == 'valid':
    132132        filename = ds['upload_file'].filename
     133        if filename.find('\\') > -1:
     134            filename = filename.split('\\')[-1]
    133135        if filename not in context.objectIds():
    134136            break
     
    143145
    144146context.invokeFactory('Upload',filename)
     147#set_trace()
    145148upload = getattr(context,filename)
    146149d = {}
Note: See TracChangeset for help on using the changeset viewer.