Bug #20345 ยป 10964.diff
typo3/backend.php (working copy) | ||
---|---|---|
$this->jsFiles = array(
|
||
'contrib/prototype/prototype.js',
|
||
'contrib/scriptaculous/scriptaculous.js?load=builder,effects,controls,dragdrop',
|
||
'contrib/extjs/adapter/prototype/ext-prototype-adapter.js',
|
||
'contrib/extjs/adapter/ext/ext-base.js',
|
||
'contrib/extjs/ext-all.js',
|
||
'md5.js',
|
||
'js/backend.js',
|
typo3/template.php (working copy) | ||
---|---|---|
// include extJS
|
||
if ($this->addExtJS) {
|
||
// if prototype is loaded, then use the prototype adapter, otherwise the default one
|
||
if ($this->addPrototype) {
|
||
$libs[] = 'contrib/extjs/adapter/prototype/ext-prototype-adapter.js';
|
||
} else {
|
||
$libs[] = 'contrib/extjs/adapter/ext/ext-base.js';
|
||
}
|
||
// use the base adapter all the time
|
||
$libs[] = 'contrib/extjs/adapter/ext/ext-base.js';
|
||
$libs[] = 'contrib/extjs/ext-all' . ($this->addExtJSdebug ? '-debug' : '') . '.js';
|
||
// add extJS localization
|
||
... | ... | |
/**
|
||
* call this function if you need the extJS library
|
||
* @param string $css
|
||
* @param boolean $css flag, if set the ext-css will be loaded
|
||
* @param boolean $theme flag, if set the ext-theme "grey" will be loaded
|
||
*/
|
||
public function loadExtJS($css = true, $theme = true) {
|
||
if (!$this->addExtJS) {
|