[dev] Significant changes

Michael M Slusarz slusarz at horde.org
Wed Mar 10 06:20:13 UTC 2010


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Zitat von Michael M Slusarz <slusarz at horde.org>:

[snip]

>>>>> - Allow to add custom fields to compose window.
>>>>
>>>> What custom fields?  Again, this is difficult because various  
>>>> javascript would also have to be changed.  I've mentioned before  
>>>> - by their very nature, AJAX applications are going to be much  
>>>> less customizable than a pure HTML counterpart simply because  
>>>> there are several independent components (PHP, HTML, javascript)  
>>>> working together that can not be altered in a single place.
>>>
>>> Is it not the complete form that's being submitted when a message  
>>> is sent? I.e. do we sent the fields individually as necessary?
>>
>> Javascript actions are triggered on certain compose fields - i.e.  
>> resizing of the compose window when elements change size -or-  
>> sanity checking of input.  This is the kind of stuff that would  
>> need to be hard-coded in the javascript code.
>>
>> If we are just talking about adding fields and then allowing a hook  
>> to be called at send time to potentially alter the sent message  
>> based on this field, this is an acceptable solution.
>
> Yes, that's the purpose of this request.

I have added to 'pre_sent' hook to IMP 5.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list