Project

General

Profile

Actions

Bug #19829

closed

enable JS-Libs in BE

Added by Steffen Kamper almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-01-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

after i made a patch for extJS only some problems has been debunked.

  • there are 3 libs in contrib that are used: prototype, scriptaculous and extJS
  • load order is important
  • there must be an easy way to load or make additions

Attached patch gives you all to do it with very easy calls. The order of calls are not important as the load order is given.
Extadapter is choosen automatic dependend of prototype loaded

Scriptaculous Modules can easy be added by call.

No double inclusion is possible, even with equal calls.

Sample of initialize libs in BE:

$this->doc->loadExtJS();
$this->doc->loadPrototype();
$this->doc->loadScriptaculous('builder');
$this->doc->loadScriptaculousModules('dragdrop');

This patch depends on #19812
(issue imported from #M10144)


Files

10144.diff (6.11 KB) 10144.diff Administrator Admin, 2009-01-15 11:04
10144_v5.patch (7.55 KB) 10144_v5.patch Administrator Admin, 2009-03-11 14:11
Actions #1

Updated by Steffen Kamper over 15 years ago

committed to trunk, rev 5193

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF