~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: Antony Lesuisse
  • Date: 2014-05-01 20:51:53 UTC
  • Revision ID: al@openerp.com-20140501205153-ko00g1vyyrmc21k8
[FIX] ir_qweb set js assets to async

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 async type="text/javascript" src="/web/js/%s"></script>' % self.xmlid)
1025
1025
        response.extend(self.remains)
1026
1026
 
1027
1027
        return sep.join(response)