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
2eb7ce11
Commit
2eb7ce11
authored
Dec 16, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified copying code to set validClipData in manage_main so that
the paste button shows up after copy.
parent
fdf6f3c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+7
-3
No files found.
lib/python/OFS/ObjectManager.py
View file @
2eb7ce11
__doc__
=
"""Object Manager
__doc__
=
"""Object Manager
$Id: ObjectManager.py,v 1.2
3 1997/12/12 16:14:0
3 jim Exp $"""
$Id: ObjectManager.py,v 1.2
4 1997/12/16 20:04:4
3 jim Exp $"""
__version__
=
'$Revision: 1.2
3
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
4
$'
[
11
:
-
2
]
from
SingleThreadedTransaction
import
Persistent
from
SingleThreadedTransaction
import
Persistent
...
@@ -275,7 +275,7 @@ class ObjectManager(Acquirer,Management,Persistent):
...
@@ -275,7 +275,7 @@ class ObjectManager(Acquirer,Management,Persistent):
action
=
'./manage_main'
,)
action
=
'./manage_main'
,)
obj
=
getattr
(
self
,
ids
[
0
])
obj
=
getattr
(
self
,
ids
[
0
])
err
=
obj
.
copyToClipboard
(
REQUEST
)
err
=
obj
.
copyToClipboard
(
REQUEST
)
return
err
or
self
.
manage_main
(
self
,
REQUEST
)
return
err
or
self
.
manage_main
(
self
,
REQUEST
,
validClipData
=
1
)
if
submit
==
'Paste'
:
if
submit
==
'Paste'
:
return
self
.
pasteFromClipboard
(
clip_id
,
clip_data
,
REQUEST
)
return
self
.
pasteFromClipboard
(
clip_id
,
clip_data
,
REQUEST
)
...
@@ -455,6 +455,10 @@ class ObjectManager(Acquirer,Management,Persistent):
...
@@ -455,6 +455,10 @@ class ObjectManager(Acquirer,Management,Persistent):
##############################################################################
##############################################################################
#
#
# $Log: ObjectManager.py,v $
# $Log: ObjectManager.py,v $
# Revision 1.24 1997/12/16 20:04:43 jim
# Modified copying code to set validClipData in manage_main so that
# the paste button shows up after copy.
#
# Revision 1.23 1997/12/12 16:14:03 jim
# Revision 1.23 1997/12/12 16:14:03 jim
# Added :text for text properties.
# Added :text for text properties.
#
#
...
...
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