[dev] Fwd: Horde: class.browser.inc

Mario Andres Yepes C marioy at upb.edu.co
Fri Jul 4 15:45:06 PDT 2003


Well, Konqueror is suposed to be 1.5, but Im not certain, I can check it out 
if you give me an url with javascript 1.5 specific code. Or maybe attach a 
piece of code.

Mario

On Friday 04 July 2003 16:13, Jan Schneider wrote:
> Anyone?
>
> Zitat von Chuck Hagenbuch <chuck at horde.org>:
> > > ----- Forwarded message from izzysoft at qumran.org -----
> > >
> > > just a little update for the browser detection: Konqueror v3+ supports
> > > JavaScript version 1.5 (not 1.1), so the block should read:
> > >
> > >                 $this->setBrowser('konqueror');
> > >                 $this->setQuirk('empty_file_input_value');
> > >                 $this->majorVersion = $version[1];
> > >
> > >                 switch ($this->majorVersion) {
> > >                   case 3:
> > >                     $this->setFeature('dom');
> > >
> > > >                    $this->setFeature('javascript', 1.5);
> > >
> > >                     break;
> > >
> > > >                  default:
> > > >                    $this->setFeature('javascript', 1.1);
> > > >                    break;
> > >
> > >                 }
> > >
> > > so it's at least correct for the current version. Not sure about the
> > > older ones ;) (Marked the changed lines with a ">").
> >
> > Can one of our Konqueror users confirm/commit this or whatever the
> > appropriate
> > patch is?
> >
> > -chuck
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft



More information about the dev mailing list