~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-03-17 04:22:44 UTC
  • Revision ID: grantw@unimelb.edu.au-20090317042244-rdu91giczv7i0rfc
Swap the version and +external in media URLs, and use media_url for jQuery.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
 
85
85
        ctx['scripts'] = [media_url(req, CorePlugin, path) for path in
86
86
                           ('util.js', 'json2.js', 'md5.js')]
87
 
        ctx['scripts'].append('/+media/+external/jquery/jquery.js')
 
87
        ctx['scripts'].append(media_url(req, '+external/jquery', 'jquery.js'))
88
88
        ctx['scripts'] += req.scripts
89
89
 
90
90
        ctx['scripts_init'] = req.scripts_init