Redirect to properties view after content creation
authorThierry Florac <thierry.florac@onf.fr>
Fri, 13 Apr 2018 09:37:23 +0200
changeset 532 f02b1394f204
parent 531 288ab38cdb56
child 533 e0708738c26e
Redirect to properties view after content creation
src/pyams_content/shared/common/zmi/__init__.py
--- a/src/pyams_content/shared/common/zmi/__init__.py	Thu Apr 12 18:26:22 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/__init__.py	Fri Apr 13 09:37:23 2018 +0200
@@ -110,7 +110,7 @@
         IWorkflowInfo(wf_content).fire_transition('init', comment=wf_content.notepad)
 
     def nextURL(self):
-        return absolute_url(self.context, self.request, '{0}/++versions++/1/admin'.format(self.__uuid))
+        return absolute_url(self.context, self.request, '{0}/++versions++/1/admin#properties.html'.format(self.__uuid))
 
 
 class SharedContentAJAXAddForm(AJAXAddForm):