Commit 7725e15d authored by Fabien Morin's avatar Fabien Morin

submit the new blog post after creation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39823 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ac403449
...@@ -72,7 +72,7 @@ article = module.newContent(portal_type=portal_type,\n ...@@ -72,7 +72,7 @@ article = module.newContent(portal_type=portal_type,\n
effective_date=effective_date,\n effective_date=effective_date,\n
classification=classification,\n classification=classification,\n
contributor_list=contributor_list,)\n contributor_list=contributor_list,)\n
\n article.submit("Automatic Submit")\n
portal_status_message = context.Base_translateString("New Blog Message created.")\n portal_status_message = context.Base_translateString("New Blog Message created.")\n
return article.Base_redirect(\'\', keep_items = dict(portal_status_message=portal_status_message ))\n return article.Base_redirect(\'\', keep_items = dict(portal_status_message=portal_status_message ))\n
</string> </value> </string> </value>
......
75 76
\ No newline at end of file \ No newline at end of file
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