[TYPO3-core] RFC: #17407: Pagetree cause endless loop in ExtJS events

Steffen Kamper info at sk-typo3.de
Sun Jan 30 02:07:50 CET 2011


Hi,

this is a SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=17407

Branches: 4_5, trunk

Steps to reproduce:

* Reload the Backend
* open javascript console
* execute this snippet

Ext.util.Observable.prototype.fireEvent = 
Ext.util.Observable.prototype.fireEvent.createInterceptor(function() {
     console.log(arguments);
     return true;
});


* call page module, watch console output

Solution:

Use a flag to remember when component is complete rendered, call 
ownerCt.doLayout() only once.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17407.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110130/af980642/attachment.txt>


More information about the TYPO3-team-core mailing list