Project

General

Profile

Actions

Bug #83476

closed

Few attributes are missing when concatenating JS files

Added by Rune Piper about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2018-01-04
Due date:
% Done:

100%

Estimated time:
0.50 h
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

When using the config.concatenateJs = 1 option, the ResourceCompressor is loosing tag attributes such as the async attribute in the concatenateJsFiles method.
A fix would be to add 'async' => $fileOptions['async'] after line 201, but I guess, it's too dirty for the core?!

Aside: Fresh installation with just tiny template:

config {
    concatenateJs = 1
}

page = PAGE
page.10 = TEXT
page.10.value = HELLO WORLD!
page.includeJSFooter {
    combined = path/to/file.css
    combined.async = 1
}


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #86982: JS async not workingClosed2018-11-23

Actions
Actions

Also available in: Atom PDF