Project

General

Profile

Actions

Bug #18612

closed

Javascript error causes 100% cpu usage in Internet Explorer 7 when editing templates

Added by Ulf Jlmbrant over 16 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-04-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I'm not sure how widely reproducable it is but every time I edit the setup or config field of a template through tstemplate a javascript error causes 100% cpu usage and makes the browser unusable. When debugging the problem seemed to be caused by prototype.js pointer code but that could be completely unrelated. When editing the whole record through alt_doc.php the problem does not occur.

by out commenting the following code in tstemplateinfo.php the problem disappeared which is rather strange.

if (t3lib_extMgm::isLoaded('tsconfig_help')) {
$url = $BACK_PATH.'wizard_tsconfig.php?mode=tsref';
$params = array(
'formName' => 'editForm',
'itemName' => 'data[config]',
);
// $outCode.= '<a href="#" onClick="vHWin=window.open(\''.$url.t3lib_div::implodeArrayForUrl('', array('P' => $params)).'\',\'popUp'.$md5ID.'\',\'height=500,width=780,status=0,menubar=0,scrollbars=1\');vHWin.focus();return false;"><img '.t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/wizard_tsconfig.gif').' width="22" height="27" border="0" title="TSref reference"></a>';
}

I'm interested in knowing how reproducable the problem is outside my Vista IE7 protected mode setting. I couldn't reproduce the problem inside virtual pc and XP SP2 and IE6 so the problem is definitelly fairly limited
(issue imported from #M8107)

Actions

Also available in: Atom PDF