[Zope-CVS] CVS: Products/PageDesign - PageDesign.py:1.5
Shane Hathaway
shane@cvs.zope.org
Tue, 13 Aug 2002 14:01:03 -0400
Update of /cvs-repository/Products/PageDesign
In directory cvs.zope.org:/tmp/cvs-serv20012
Modified Files:
PageDesign.py
Log Message:
- Allowed designs to embed other designs.
- Prevented dragging an item into itself.
- Renamed the JS functions and changed argument order to structure the script
in a class-oriented way.
=== Products/PageDesign/PageDesign.py 1.4 => 1.5 ===
--- Products/PageDesign/PageDesign.py:1.4 Mon Aug 12 22:42:39 2002
+++ Products/PageDesign/PageDesign.py Tue Aug 13 14:01:02 2002
@@ -362,7 +362,7 @@
security.declareProtected(view, '__call__')
def __call__(self, **kw):
"""Renders the design in non-edit mode."""
- kw['editable'] = 0
+ # kw['editable'] = 0
return self.render(**kw)
security.declareProtected(change_page_designs, 'editForm')