[dev] Removal of ugly code

Michael M Slusarz slusarz at horde.org
Tue Apr 18 10:15:29 PDT 2006


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>> With the implementation of the DIMP auto complete contacts code in
>> HEAD, I am thinking it is probably safe for us to remove the Expand
>> Names links completely.  It doesn't do anything that the auto-complete
>> already does, and it can't be used as a fallback for non-JS browsers
>> since it requires JS itself.
>
> I agree it'd be great to get rid of that codepath, but I'm not seeing
> where it relies on javascript. And if it's the only address handling
> option for non-js browsers/users, I think it pretty much has to stay.

The link to Expand Names is:
    uniqSubmit('compose_expand_addr');

We would have to convert this link to some kind of submit button I  
believe, and then catch the value sent by this submit (rather than  
looking at the actionID), to get this to work with non-JS browsers  
(right?).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]


More information about the dev mailing list