[imp] Does IMP handle a Lack of JavaScript ?

Martin Jones mlj at sabreit.demon.co.uk
Fri Aug 8 07:57:19 PDT 2003


Can I suggest a one-line patch:

In imp/lib/IMP.php, ammend line ~836 (in function composeLink)

replace
if ($prefs->getValue('compose_popup')) {
with
if ($prefs->getValue('compose_popup') && $browser->hasFeature('javascript')) {

As there seems little point in returning a javascript popup URL, no matter
what the user's preferences say if the browser doesn't support
javascript.

        Thanks,

		Martin.


More information about the imp mailing list