Commit 8442b9c1 authored by Amos Latteier's avatar Amos Latteier

Updated HelpSystem object to use new getProductHelp method.

parent 1b34bece
...@@ -116,11 +116,10 @@ class HelpSystem(Acquisition.Implicit, ObjectManager, Item, Persistent): ...@@ -116,11 +116,10 @@ class HelpSystem(Acquisition.Implicit, ObjectManager, Item, Persistent):
self.id=id self.id=id
def helpValues(self, spec=None): def helpValues(self, spec=None):
"Help topics" "ProductHelp objects of all Products"
hv=[] hv=[]
for product in self.Control_Panel.Products.objectValues(): for product in self.Control_Panel.Products.objectValues():
if hasattr(product, 'Help'): hv.append(product.getProductHelp())
hv.append(product.Help)
return hv return hv
# Seaching does an aggregated search of all ProductHelp # Seaching does an aggregated search of all ProductHelp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment