~openerp-dev/openobject-server/trunk-staging-mat

« back to all changes in this revision

Viewing changes to openerp/addons/base/ir/ir_qweb.py

  • Committer: Fabien Meghazi
  • Date: 2014-05-05 12:10:36 UTC
  • Revision ID: fme@openerp.com-20140505121036-044ecvq8s3d669b2
[TRY] defer

Show diffs side-by-side

added added

removed removed

Lines of Context:
1021
1021
        if self.stylesheets:
1022
1022
            response.append('<link href="/web/css/%s" rel="stylesheet"/>' % self.xmlid)
1023
1023
        if self.javascripts:
1024
 
            response.append('<script type="text/javascript" src="/web/js/%s"></script>' % self.xmlid)
 
1024
            response.append('<script type="text/javascript" src="/web/js/%s" defer="defer"></script>' % self.xmlid)
1025
1025
        response.extend(self.remains)
1026
1026
 
1027
1027
        return sep.join(response)