Changeset 2774 in products
- Timestamp:
- Sep 2, 2010 2:20:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/browser/viewlets.py
r2773 r2774 70 70 self.tabs =[] 71 71 self.normalize_actions(tool._getOb(conf.actions_category), context, 0) 72 current_item = 072 current_item = -1 73 73 delta = 1000 74 74 if not self.tabs: 75 return [] 75 76 for info in self.tabs: 76 77 if self.context_url.startswith(info['url']) and \ … … 79 80 current_item = self.tabs.index(info) 80 81 self.id_chain = [] 81 self.mark_active(self.tabs[current_item]['id'],self.tabs[current_item]['title']) 82 83 if current_item > -1 and current_item < len(self.tabs): 84 self.mark_active(self.tabs[current_item]['id'],self.tabs[current_item]['title']) 82 85 return self._subactions(tool._getOb(conf.actions_category), context, 0) 83 86
Note: See TracChangeset
for help on using the changeset viewer.