You are not logged in Log in Join
You are here: Home » Members » hewei » Zope RPMs for RedHat » Zope Product RPMs » Ordered Object Manager » OrderedObjectManager Plone reinstall bug patch » View Document

Log in
Name

Password

 

OrderedObjectManager Plone reinstall bug patch

--- OrderedObjectManager/Extensions/Install.py.orig 2003-08-28 16:10:51.000000000 +0800
+++ OrderedObjectManager/Extensions/Install.py 2004-05-19 18:27:52.000000000 +0800
@@ -43,6 +43,11 @@
, oomPermission
, 'folder_buttons' )

+ if nav_props.hasProperty('default.move_objs_up.success'):
+ nav_props.manage_delProperties(('default.move_objs_up.success',))
+ if nav_props.hasProperty('default.move_objs_up.failure'):
+ nav_props.manage_delProperties(('default.move_objs_up.failure',))
+
nav_props.manage_addProperty('default.move_objs_up.success','url:folder_contents','string')
nav_props.manage_addProperty('default.move_objs_up.failure','url:folder_contents','string')

@@ -56,6 +61,11 @@
, oomPermission
, 'folder_buttons' )

+ if nav_props.hasProperty('default.move_objs_down.success'):
+ nav_props.manage_delProperties(('default.move_objs_down.success',))
+ if nav_props.hasProperty('default.move_objs_down.failure'):
+ nav_props.manage_delProperties(('default.move_objs_down.failure',))
+
nav_props.manage_addProperty('default.move_objs_down.success','url:folder_contents','string')
nav_props.manage_addProperty('default.move_objs_down.failure','url:folder_contents','string')