Changeset 2700 in products for quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/viewlets.py
- Timestamp:
- Jul 19, 2010 4:12:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/viewlets.py
r2658 r2700 34 34 self.conf = conf = self._settings() 35 35 self.tool = getToolByName(context, 'portal_actions') 36 self.site_url = getToolByName(context, 'portal_url')() 36 37 37 38 # fetch actions-based tabs? … … 100 101 101 102 url = self.context.absolute_url() 102 if url.startswith(info['url']) :103 if url.startswith(info['url']) and info['url'] != self.site_url: 103 104 if currentParentId > -1: 104 105 if len(tabs[currentParentId]['getURL']) < len(info['url']):
Note: See TracChangeset
for help on using the changeset viewer.