File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ class __FactoryDispatcher__(FactoryDispatcher):
194
194
'container_filter' : container_filter
195
195
},)
196
196
197
- m [name ] = initial
197
+ m [name ] = zpublish_wrap ( initial )
198
198
m [name + '__roles__' ] = pr
199
199
200
200
for method in constructors [1 :]:
Original file line number Diff line number Diff line change 16
16
from AccessControl .SecurityInfo import ClassSecurityInfo
17
17
from App .special_dtml import DTMLFile
18
18
from Shared .DC .Scripts .Bindings import Bindings
19
+ from ZPublisher import zpublish
19
20
20
21
21
22
class BindingsUI (Bindings ):
@@ -30,6 +31,7 @@ class BindingsUI(Bindings):
30
31
'ZBindingsHTML_editForm' )
31
32
ZBindingsHTML_editForm = DTMLFile ('dtml/scriptBindings' , globals ())
32
33
34
+ @zpublish
33
35
@security .protected ('Change bindings' )
34
36
def ZBindingsHTML_editAction (self , REQUEST ):
35
37
'''Changes binding names.
You can’t perform that action at this time.
0 commit comments