Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
860436c3
Commit
860436c3
authored
Aug 07, 2003
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed default delta in ZMI methods.
parent
bae8e249
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/OFS/OrderSupport.py
lib/python/OFS/OrderSupport.py
+3
-3
No files found.
lib/python/OFS/OrderSupport.py
View file @
860436c3
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
##############################################################################
##############################################################################
""" Order support for 'Object Manager'.
""" Order support for 'Object Manager'.
$Id: OrderSupport.py,v 1.
2 2003/06/12 10:20:59
yuppie Exp $
$Id: OrderSupport.py,v 1.
3 2003/08/07 21:33:27
yuppie Exp $
"""
"""
from
types
import
StringType
from
types
import
StringType
...
@@ -54,7 +54,7 @@ class OrderSupport:
...
@@ -54,7 +54,7 @@ class OrderSupport:
#
#
security
.
declareProtected
(
manage_properties
,
'manage_move_objects_up'
)
security
.
declareProtected
(
manage_properties
,
'manage_move_objects_up'
)
def
manage_move_objects_up
(
self
,
REQUEST
,
ids
=
None
,
delta
=
None
):
def
manage_move_objects_up
(
self
,
REQUEST
,
ids
=
None
,
delta
=
1
):
""" Move specified sub-objects up by delta in container.
""" Move specified sub-objects up by delta in container.
"""
"""
if
ids
:
if
ids
:
...
@@ -70,7 +70,7 @@ class OrderSupport:
...
@@ -70,7 +70,7 @@ class OrderSupport:
manage_tabs_message
=
message
)
manage_tabs_message
=
message
)
security
.
declareProtected
(
manage_properties
,
'manage_move_objects_down'
)
security
.
declareProtected
(
manage_properties
,
'manage_move_objects_down'
)
def
manage_move_objects_down
(
self
,
REQUEST
,
ids
=
None
,
delta
=
None
):
def
manage_move_objects_down
(
self
,
REQUEST
,
ids
=
None
,
delta
=
1
):
""" Move specified sub-objects down by delta in container.
""" Move specified sub-objects down by delta in container.
"""
"""
if
ids
:
if
ids
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment