Brendan Eich wrote:

> Mike Lee wrote:
>
>> Hi
>>
>> I overloaded a ActionListener in mozilla somthing like
>>
>> var blahListener =
>> {
>>   WillInsertNode: function(...) {
>>   },
>>   DidInserNode: function(...) {
>>   },
>>   ....
>> }
>>
>> I dont seem to be able to access a global object within the functions.
>> Say if I have
>>
>> var gObject = document.getElementById('foo');
>>
>> I can't use the gObject within WillInsertNode for example? Any work 
>> solutions or workarounds? 
>
Did you get an answer yet? This really is a general JS question that 
Brendan could have answered! Nothing special about it being in editor! I 
can't see why what you did shouldn't work.

>>
>
> Wrong newsgroup, trying m.editor.  Also cc'ing cmanske.
>
> /be
>
>
>


Reply via email to