Changeset 5943 for main/waeup.sirp/trunk


Ignore:
Timestamp:
14 Apr 2011, 11:29:51 (14 years ago)
Author:
Henrik Bettermann
Message:

Departments and Faculties are no longer table providers. This patch catches the warning in Internet Explorer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/tables.py

    r5008 r5943  
    1212from waeup.sirp.widgets.interfaces import ITableProvider
    1313
    14 class DepartmentTableProvider(CodeAndTitleTableProvider):
    15     grok.context(IFaculty)
    16     grok.provides(ITableProvider)
    17     title = 'Departments'
     14#class DepartmentTableProvider(CodeAndTitleTableProvider):
     15#    grok.context(IFaculty)
     16#    grok.provides(ITableProvider)
     17#    title = 'Departments'
    1818
    19 class FacultyTableProvider(CodeAndTitleTableProvider):
    20     grok.context(IFacultyContainer)
    21     grok.provides(ITableProvider)
    22     title = 'Faculties'
     19#class FacultyTableProvider(CodeAndTitleTableProvider):
     20#    grok.context(IFacultyContainer)
     21#    grok.provides(ITableProvider)
     22#    title = 'Faculties'
    2323
    2424class CourseTableProvider(CodeAndTitleTableProvider):
Note: See TracChangeset for help on using the changeset viewer.