[TYPO3-core] RFC: Feature #15745: Integrate generic notification methods to show windows and dialogs based on ExtJS

Tolleiv.Nietsch info at tolleiv.de
Sat Oct 30 11:44:45 CEST 2010


Hi,
a further follow-up is needed - within the close function you're not 
cleaning the windowCollection right. This avoids that a window with the 
same id is opened more than once.

E.g. the following code will cause a dom error in FF:

TYPO3.Windows.showWindow({id:'tester', title:'TYPO3 window thing'});
TYPO3.Windows.close('tester');
TYPO3.Windows.showWindow({id:'tester', title:'TYPO3 window thing'});
TYPO3.Windows.close('tester');

Cheers,
Tolleiv
-- 
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
Twitter: http://www.twitter.com/tolleiv
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15745-followup.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101030/83db329e/attachment.txt>


More information about the TYPO3-team-core mailing list