source: products/quintagroup.portlet.map/trunk/quintagroup/portlet/map/map_fix.py @ 2207

Last change on this file since 2207 was 2207, checked in by mylan, 14 years ago

Clean-up needless IMapEnabledView adapter for default pabe

File size: 306 bytes
Line 
1from zope.interface import implements
2from Products.Maps.interfaces import IMapView
3from Products.Maps.browser.map import BaseMapView
4
5class FolderMapView(BaseMapView):
6    implements(IMapView)
7
8    @property
9    def enabled(self):
10        if self.map is None:
11            return False
12        return True
Note: See TracBrowser for help on using the repository browser.