Commit 2d3e843a authored by 's avatar

Fixed bug when editing w/IE4

parent 48fe46df
"""Image object"""
__version__='$Revision: 1.5 $'[11:-2]
__version__='$Revision: 1.6 $'[11:-2]
from Persistence import Persistent
from Globals import HTMLFile
......@@ -16,7 +16,7 @@ class Image(Persistent,RoleManager,SimpleItem.Item_w__name__):
manage_editForm =HTMLFile('OFS/imageEdit')
manage=manage_main=manage_editForm
def manage_edit(self,file,title,content_type='',acl_type='A',acl_roles=[], REQUEST=None):
def manage_edit(self,title,file='',content_type='',acl_type='A',acl_roles=[], REQUEST=None):
""" """
try: headers=file.headers
except: headers=None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment