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

Jan Schneider jan at horde.org
Fri Jul 4 15:56:48 PDT 2003


Zitat von Mario Andres Yepes C <marioy at upb.edu.co>:

>
> 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.

Hm, I can't actually remember a place where we check for the javascript
version. I guess it only makes a difference if some is using the class
elsewhere.

> 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