Hi,

I'm really not a JS programmer, so forgive me if I talk rubbish, but 
isn't there a way to store the old method in something which is called 
super?

Fabian Jakobs schrieb:
> Hi,
> 
>> //---------------------------------------------------------------
>> /**
>> * New _updateContent function that checks for disposed table.
>> * This is needed because _updateContent can be called after all
>> * processing has been finished, which might include destruction
>> * of the table.
>> */
>> //---------------------------------------------------------------
>>
>> qx.ui.table.TablePaneScroller.prototype._updateContent = function()
>>    {
>>    //
>>    // Is the table disposed?
>>    //
>>    if (this.isDisposed()) 
>>       {
>>       return;                                   // bomb out
>>       };
>>    //
>>    // Otherwise call normal _updateContent
>>    //
>>    this._unsafe_updateContent();
>>    };
>>
>>   
> What we could do is to save a reference to the overwritten method in the 
> patch phase. We could either rename it as you did or store the 
> overwritten function in the function object of the new method. It could 
> then be called like this:
> 
> arguments.callee.original.call(this, ...);
> 
> 
> If support for this is really needed we could consider implementing this 
> feature.
> 
> Best Fabian
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to