Actions
Bug #19813
closedloadJavascriptLib needs second param to be unique
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-01-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When using the function loadJavascriptLib in BE, the unique-check is done with the path.
This may be insufficient. When it comes to extJs you may load specific adapter. They have different paths, but they are not allowed to be incliuded both.
This patch adds a second param "name" that should be unique. The parameter is optional, if you miss it, it will be filled with the path.
Example:
$this->doc->loadJavascriptLib(''contrib/extjs/adapter/prototype/ext-prototype-adapter.js', 'extjs-Adapter');
(issue imported from #M10122)
Files
Actions