On Wed, Sep 20, 2006 at 08:15:04 -0500, Peter Karman wrote:

>   if ($c->req->browser->windows && $c->req->browser.ie)
                                                     ^

>   {
>       $c->stash->{ie_win_too_bad}++;
>   }

FWIW, you should also store this in the session, as

        unless exists ( $c->session->{disable_javascript} ) { 
                $c->session->{disable_javascript} = 
$c->stash->{ie_win_too_bad}; # too hard to write windows js ;-)
        }

And then have some preference pane option where the user can change
the value of this flag even if you don't agree with their browser.

-- 
  Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org  0xEBD27418

Attachment: pgpMWYZMCqz3M.pgp
Description: PGP signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to