diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-08-28 08:54:30 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-08-28 09:20:32 +0000 |
| commit | 3862f6366908c07b6ffe06d8693c2a82c7d74f58 (patch) | |
| tree | 181bb1dd30e14265bacb615da59fb29ef278cf7f /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 344beaf2826e0d09c2d19923f53657b46979a110 (diff) | |
[FIX] theme_bootswatch, doc: https import for less3
The @import directive in less leave the @import as is if it detects .css
extension. Otherwise it will use the less import.
Since less 3.0.0 less/less.js@77fde7eb7 checking css extension regex
changed from:
/[#\.\&\?\/]css([\?;].*)?$/
to:
/[#\.\&\?]css([\?;].*)?$/
thus all our import of google fonts with URI like:
//fonts.googleapis.com/css?family=FontName
now are getting imported as less, thus they are included directly in the
output file with HTTP scheme URL which may be blocked on HTTPS instance.
With this fix, we specify that the import is a normal CSS one with (css)
import option:
http://lesscss.org/features/#import-atrules-feature-css
opw-2057037
closes #36167
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
