[Zope-CVS] CVS: Products/PageDesign/www - addElementDialog.pt:1.3

Matthew T. Kromer matt@zope.com
Fri, 21 Feb 2003 10:40:05 -0500


Update of /cvs-repository/Products/PageDesign/www
In directory cvs.zope.org:/tmp/cvs-serv31684/www

Modified Files:
	addElementDialog.pt 
Log Message:
Add a default path to the picker for page designs so the element picker can
be defaulted to a different directory.


=== Products/PageDesign/www/addElementDialog.pt 1.2 => 1.3 ===
--- Products/PageDesign/www/addElementDialog.pt:1.2	Mon Aug 12 10:39:29 2002
+++ Products/PageDesign/www/addElementDialog.pt	Fri Feb 21 10:40:05 2003
@@ -3,7 +3,7 @@
 <title>Add page element</title>
 </head>
 <body tal:define="source_path python:
-  request.get('source_path') or '/'.join(here.aq_parent.getPhysicalPath())">
+  request.get('source_path') or '/'.join(here.getDefaultPickerPath())">
 <form action="addElementDialog" method="GET">
 <input type="hidden" name="target_path"
   tal:attributes="value request/target_path" />