Project

General

Profile

Bug #24517 » 16971_v2.diff

Administrator Admin, 2011-01-19 11:08

View differences:

t3lib/class.t3lib_pagerenderer.php (Arbeitskopie)
};
Ext.Direct.on("exception", function(event) {
var backtrace = "";
if (event.where) {
backtrace = "<p style=\"margin-top: 20px;\">" +
"<strong>Backtrace:<\/strong><br \/>" +
event.where.replace(/#/g, "<br \/>#") +
"<\/p>";
if (event.code === Ext.Direct.exceptions.TRANSPORT) {
TYPO3.Flashmessage.display(
TYPO3.Severity.error,
TYPO3.LLL.extDirect.timeoutHeader,
TYPO3.LLL.extDirect.timeoutMessage,
30
);
} else {
var backtrace = "";
if (event.where) {
backtrace = "<p style=\"margin-top: 20px;\">" +
"<strong>Backtrace:<\/strong><br \/>" +
event.where.replace(/#/g, "<br \/>#") +
"<\/p>";
}
extDirectDebug(
"<p>" + event.message + "<\/p>" + backtrace,
event.method,
"ExtDirect - Exception"
);
}
extDirectDebug(
"<p>" + event.message + "<\/p>" + backtrace,
event.method,
"ExtDirect - Exception"
);
});
Ext.Direct.on("event", function(event, provider) {
typo3/backend.php (Arbeitskopie)
'helpDescriptionPages',
'helpDescriptionContent',
),
'extDirect' => array(
'timeoutHeader',
'timeoutMessage',
),
);
$generatedLabels = array();
$generatedLabels['core'] = $coreLabels;
typo3/sysext/lang/locallang_misc.xml (Arbeitskopie)
<label index="liveSearch_helpTitle">How to use advanced search tags</label>
<label index="liveSearch_helpDescription">Search in certain tables:</label>
<label index="liveSearch_helpDescriptionPages">#page:Home will search for all pages with the title "Home"</label>
<label index="extDirect_timeoutHeader">Connection Problem</label>
<label index="extDirect_timeoutMessage">Sorry, but an error occured while connecting to the server. Please check your network connection.</label>
</languageKey>
</data>
</T3locallang>
(2-2/2)