more fixes for Ajax with IE
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1402 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
aa0d4e4c0c
commit
83947823df
2 changed files with 7 additions and 4 deletions
|
@ -65,6 +65,9 @@ class ObjectForm(NodeView):
|
||||||
wc.modifyWidgetSetup(self.widgets)
|
wc.modifyWidgetSetup(self.widgets)
|
||||||
|
|
||||||
def __call__(self):
|
def __call__(self):
|
||||||
|
response = self.request.response
|
||||||
|
response.setHeader('Expires', 'Sat, 1 Jan 2000 00:00:00 GMT')
|
||||||
|
response.setHeader('Pragma', 'no-cache')
|
||||||
return innerHtml(self)
|
return innerHtml(self)
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
|
@ -131,7 +134,7 @@ class CreateObjectForm(ObjectForm, Form):
|
||||||
self.typeInterface = ifc
|
self.typeInterface = ifc
|
||||||
return FormFields(ifc)
|
return FormFields(ifc)
|
||||||
|
|
||||||
#@property
|
@property
|
||||||
def assignments(self):
|
def assignments(self):
|
||||||
target = self.virtualTargetObject
|
target = self.virtualTargetObject
|
||||||
if (IConcept.providedBy(target) and
|
if (IConcept.providedBy(target) and
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<metal:block define-macro="edit">
|
<metal:block define-macro="edit">
|
||||||
<form method="post" action="." enctype="multipart/form-data">
|
<form method="post" enctype="multipart/form-data">
|
||||||
<input type="hidden" name="form.action" value="edit"
|
<input type="hidden" name="form.action" value="edit"
|
||||||
tal:attributes="value view/form_action" />
|
tal:attributes="value view/form_action" />
|
||||||
<table cellpadding="3" class="form">
|
<table cellpadding="3" class="form">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
|
|
||||||
<metal:block define-macro="create">
|
<metal:block define-macro="create">
|
||||||
<form method="post" action="." enctype="multipart/form-data">
|
<form method="post" enctype="multipart/form-data">
|
||||||
<input type="hidden" name="form.action" value="create"
|
<input type="hidden" name="form.action" value="create"
|
||||||
tal:attributes="value view/form_action" />
|
tal:attributes="value view/form_action" />
|
||||||
<table cellpadding="3" class="form">
|
<table cellpadding="3" class="form">
|
||||||
|
|
Loading…
Add table
Reference in a new issue