~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

  • Committer: William Grant
  • Date: 2009-07-07 05:36:01 UTC
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090707053601-jcxmnpu3f9n6ydfk
Don't share XHTMLView's attributes between instances. oops.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    """
40
40
 
41
41
    template = 'template.html'
42
 
 
43
 
    plugin_scripts = {}
44
 
    plugin_styles = {}
45
 
    scripts_init = []
46
 
 
47
 
    extra_breadcrumbs = []
48
 
 
49
42
    allow_overlays = True
50
 
    overlay_blacklist = []
 
43
 
 
44
    def __init__(self, *args, **kwargs):
 
45
        super(XHTMLView, self).__init__(*args, **kwargs)
 
46
 
 
47
        self.overlay_blacklist = []
 
48
 
 
49
        self.plugin_scripts = {}
 
50
        self.plugin_styles = {}
 
51
        self.scripts_init = []
 
52
 
 
53
        self.extra_breadcrumbs = []
 
54
        self.overlay_blacklist = []
51
55
 
52
56
    def get_context_ancestry(self, req):
53
57
        return req.router.get_ancestors(self.context)