You are not logged in Log in Join
You are here: Home » Members » hewei » Zope RPMs for RedHat » Plone Product RPMs » CMFBoard » CMFBoard-2.1.2-right_slots-bugfix.patch » View File

Log in
Name

Password

 

CMFBoard-2.1.2-right_slots-bugfix.patch

File details
Size
1 K
File type
text/plain

File contents

--- CMFBoard/ForumFolder.py.orig	2004-05-19 16:12:09.000000000 +0800
+++ CMFBoard/ForumFolder.py	2004-07-06 14:45:16.000000000 +0800
@@ -89,7 +89,7 @@
     content_icon = 'fcFolder_icon.gif'
 
     _properties = (
-        {'id': 'right_slots', 'type': 'lines', 'mode':'rwd'},
+        {'id': 'right_slots', 'type': 'lines', 'mode': 'wd'},
         )
 
     actions = (
@@ -102,7 +102,7 @@
 
     security = ClassSecurityInfo()
 
-    right_slots = ()
+    #right_slots = ()
 
     title = 'Discussion Forums'
 
@@ -126,6 +126,8 @@
         except:
             pass
         
+        setattr(self, 'right_slots', [])
+
         self._initialized = 1
 
     def manage_afterDelete(self, item, container):