Bug #19584 » typo3core_bugfix_9755_trunk.patch
typo3/class.browse_links.php (copie de travail) | ||
---|---|---|
if (!$this->mode) {
|
||
$this->mode = 'rte';
|
||
}
|
||
// Creating backend template object:
|
||
$this->doc = t3lib_div::makeInstance('template');
|
||
$this->doc->backPath = $GLOBALS['BACK_PATH'];
|
||
// Load the Prototype library and browse_links.js
|
||
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
|
||
$this->doc->loadJavascriptLib('js/browse_links.js');
|
||
// init hook objects:
|
||
$this->hookObjects = array();
|
||
... | ... | |
// Initializing the title value (RTE)
|
||
$this->setTitle = ($this->curUrlArray['title'] != '-') ? $this->curUrlArray['title'] : '';
|
||
// Creating backend template object:
|
||
$this->doc = t3lib_div::makeInstance('template');
|
||
$this->doc->backPath = $BACK_PATH;
|
||
// Load the Prototype library and browse_links.js
|
||
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
|
||
$this->doc->loadJavascriptLib('js/browse_links.js');
|
||
// BEGIN accumulation of header JavaScript:
|
||
$JScode = '
|
||
// This JavaScript is primarily for RTE/Link. jumpToUrl is used in the other cases as well...
|