Changeset 3564 in products


Ignore:
Timestamp:
Sep 24, 2012 12:36:30 PM (7 years ago)
Author:
potar
Message:

checked attribute "selectedTabs" because viewlet "plone.global_sections" exists in Plone 3,4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonetabs/trunk/quintagroup/plonetabs/browser/plonetabs.py

    r3563 r3564  
    461461                                             self.request, 
    462462                                             'plone.global_sections') 
    463         if section_viewlet: 
     463        if hasattr(section_viewlet, 'selectedTabs'): 
    464464            # Plone >= 4.3 
    465465            selected_tabs = section_viewlet.selectedTabs( 
Note: See TracChangeset for help on using the changeset viewer.