[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/browser/admin/syndication.py - fixed redirects (don't know why, but the syndication action is in the object category)

Yvo Schubbe y.2011 at wcm-solutions.de
Fri Jan 21 05:38:48 EST 2011


Log message for revision 119819:
  - fixed redirects (don't know why, but the syndication action is in the object category)

Changed:
  U   Products.CMFDefault/trunk/Products/CMFDefault/browser/admin/syndication.py

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/browser/admin/syndication.py
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/admin/syndication.py	2011-01-21 08:39:44 UTC (rev 119818)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/admin/syndication.py	2011-01-21 10:38:47 UTC (rev 119819)
@@ -206,19 +206,19 @@
     def handle_enable(self, action, data):
         self.adapter.enable()
         self.status = _(u"Syndication enabled.")
-        self._setRedirect("portal_actions", "folder/syndication")
+        self._setRedirect("portal_actions", "object/syndication")
 
     def handle_disable(self, action, data):
         self.adapter.disable()
         self.status = _(u"Syndication disabled.")
-        self._setRedirect("portal_actions", "folder/syndication")
+        self._setRedirect("portal_actions", "object/syndication")
 
     def handle_update(self, action, data):
         self.adapter.set_info(**data)
         self.status = _(u"Syndication settings updated.")
-        self._setRedirect("portal_actions", "folder/syndication")
+        self._setRedirect("portal_actions", "object/syndication")
 
     def handle_revert(self, action, data):
         self.adapter.revert()
         self.status = _(u"Syndication reset to site default.")
-        self._setRedirect("portal_actions", "folder/syndication")
+        self._setRedirect("portal_actions", "object/syndication")



More information about the checkins mailing list