Commit 8085a7d6 authored by Bartek Górny's avatar Bartek Górny

New pages must not be linked to section.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13204 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 717f1995
......@@ -87,9 +87,6 @@ web_page = web_page_module.newContent(portal_type = \'Web Page\', \n
category_list = context.getMembershipCriterionCategoryList()\n
web_page.setCategoryList(category_list)\n
\n
# Create relation between section and page\n
context.setDefaultAggregateValue(web_page)\n
\n
# Return the new page in the section context\n
return web_page.Base_redirect(\'view\',\n
keep_items = dict(editable_mode=1,\n
......
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