[TYPO3-core] FYI24 #17479: javascript error after contextmenu -> delete a page

Stefan Galinski sgalinski at df.eu
Tue Feb 22 00:42:19 CET 2011


Helmut Hummel wrote:

> Hi Stefan,
> 
> On 21.02.11 23:46, Stefan Galinski wrote:
>> -146» » » » if·(callback·!==·null)·{
>> +146» » » » if·(typeof·callback·===·'function')·{
> 
> Today I was teached to use Ext.is[type] instead :)
> 
> So wouldn't:
> 
> Ext.isFunction(callback)
> 
> be nicer?
> 
> Kind regards,
> Helmut
> 

Thanks Helmut, I didn't knew that methods from ExtJS! I will change the line 
before committing.

-- 
Stefan Galinski
staatl. geprüfter Informatiktechniker


More information about the TYPO3-team-core mailing list