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
52797a27
Commit
52797a27
authored
Jul 03, 2009
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed ProductHelp (reverted small part of revision 94458)
parent
6f647bb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/App/Product.py
src/App/Product.py
+13
-1
No files found.
src/App/Product.py
View file @
52797a27
...
@@ -99,9 +99,19 @@ class Product(Folder, PermissionManager):
...
@@ -99,9 +99,19 @@ class Product(Folder, PermissionManager):
_reserved_names
=
(
'Help'
,)
_reserved_names
=
(
'Help'
,)
def
__init__
(
self
,
id
,
title
):
def
__init__
(
self
,
id
,
title
):
from
HelpSys.HelpSys
import
ProductHelp
self
.
id
=
id
self
.
id
=
id
self
.
title
=
title
self
.
title
=
title
# Workaround for unknown problem with help system and PluginIndexes product
# NEEDS to be fixed for 2.4 ! (ajung)
try
:
self
.
_setObject
(
'Help'
,
ProductHelp
(
'Help'
,
id
))
except
:
pass
security
.
declarePublic
(
'Destination'
)
security
.
declarePublic
(
'Destination'
)
def
Destination
(
self
):
def
Destination
(
self
):
"Return the destination for factory output"
"Return the destination for factory output"
...
@@ -129,7 +139,9 @@ class Product(Folder, PermissionManager):
...
@@ -129,7 +139,9 @@ class Product(Folder, PermissionManager):
"""Returns the ProductHelp object associated with the Product.
"""Returns the ProductHelp object associated with the Product.
"""
"""
from
HelpSys.HelpSys
import
ProductHelp
from
HelpSys.HelpSys
import
ProductHelp
return
ProductHelp
(
'Help'
,
self
.
id
).
__of__
(
self
)
if
not
hasattr
(
self
,
'Help'
):
self
.
_setObject
(
'Help'
,
ProductHelp
(
'Help'
,
self
.
id
))
return
self
.
Help
#
#
# Product refresh
# Product refresh
...
...
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