Re: Re: Adding own Event Handlers

Patrick Kollitsch <[email protected]> Tue, 16 Nov 2004 07:47:34 +0100
Newsgroups gmane.editors.bitflux.devel
Message-ID <[email protected]>
oh, i forgot to mention, that we have found an other way to do some own 
stuff at e.g. saving. we defined the exit-funktion new (same 
functionname other content) and implemented it as last file of the 
<files><scripts>-area in the config.xml. that seems to overwrite the 
existing function. a little bit dirty but working for now ;)

greetings
patrick
> hi,
> 
>> I added it. mode="append" doesn't work yet, but I'm not sure, if we 
>> need that at all. Maybe I'll add it, maybe not ;)
>>
>> Here's the syntax in config.xml
>>
>> <events>
>>     <event name="Exit">__exit</event>
>> </events>
>>
>> would call the function __exit instead of the built in default event.
>>
>> It's called in xml_config, where every js file defined in config.xml 
>> should have been loaded already
>>
>> It's only in the trunk and I won't backport it to 1.0
> 
> 
> we switched to trunk. it works but only for the predefined events. I 
> have implemented some events for buttons which insert predefined 
> contents (templates). it would be good to have them loaded through this 
> too.
> 
> greetings
> patrick

-- 
bx-editor-dev mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-dev