[imp] IMP_4_0_ALPHA attachments single click

Chuck Hagenbuch chuck at horde.org
Fri Oct 15 19:37:28 PDT 2004


Quoting "Kevin M. Myer" <kevin_myer at iu13.org>:

> However, to simplify the whole process, I would propose the following:
>
> Eliminate the field where you can specify the path to a file name (most end
> users aren't going to use this).

... but it's part of the file upload HTML element. We don't put it there.

> Eliminate the Attach button and set the onclick action for the 
> Browse/Find Files button to ("add_attachment", "add"), just like the 
> action for the Attach
> button.
>
> End result is one-click attachment.
>
> I coded up a patch to do this.  It worked fine with Firefox but throws up
> warnings with IE on both Windows and Macs and doesn't work at all with Safari
> on a Mac.

Probably because onclick on a file upload field is a dicey proposition, but
without seeing your code, I don't even have any idea how you got rid of the
file path input.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the imp mailing list